Maninder
Maninder

Reputation: 1261

Disable comment popup on facebook like button

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?

Upvotes: 3

Views: 14544

Answers (3)

Dottie Decano
Dottie Decano

Reputation: 61

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.

Upvotes: 3

bodomalo
bodomalo

Reputation: 173

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

Upvotes: 1

andyrandy
andyrandy

Reputation: 74014

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.

Upvotes: 1

Related Questions