3

I want to hide the comment popup that comes up when a facebook like is done. I've tried with giving css

.-cx-PRIVATE-pluginCommentFlyout__fullButton {
    display: none !important;
    }

but that doesn't seems to work as the css is added dynamically through jquery I assume. How can I hide this comment box?

3 Answers 3

3

The comment box do not appear anymore after clicking like button.

  1. Go to Facebook Like Plugin
  2. Enter details for your implementation of the Like button
  3. Click on "Get Code" button
  4. There are 4 sections you can choose from (HTML5, XFBML, IFRAME, URL),
    choose IFRAME and copy the plugin code from IFRAME section.

Summary: Instead of copying the plugin code from HTML5 section copy the one from IFRAME section.

2
  • exactly what i needed :D May 17, 2014 at 22:21
  • It works but the alignment of the button (I'm using box_count layout) is broken. Jun 25, 2014 at 13:55
1

This has already been answered in some other threads:

Facebook Like Button - how to disable Comment pop up box?

Facebook Like Button - how to disable Comment pop up?

Some answers might already be deprecated, but it´s worth a try. One solution that worked for me some months ago was to use the iframe-version and a width of less than 400px.

1

It seems that none of the older versions is working anylonger. That comment box always appears on my fb like buttons.

2
  • yes the same problem exists with this, i tried with this stackoverflow.com/questions/3247855/… approach and it worked out for me
    – Maninder
    May 2, 2013 at 10:28
  • In my understanding, the comment box appears when the Javascript SDK is used.
    – Mark
    Aug 4, 2013 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.