Facebook – Disable comment popup on facebook like button

facebookfacebook-like

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?

Best Answer

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.

Related Topic