cssfacebookbuttonfacebook-likefacebook-likebox

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


I'd like to disable the Comment box that pops up when a user clicks the Facebook Like button ,

I followed the post Facebook Like Button - how to disable Comment pop up? and changed the CSS But it didnt work any other suggestions please

I cant use IFRAME otherwise i would not be able to use FB.Event.subscribe('edge.create',


Solution

  • From http://developers.facebook.com/docs/reference/plugins/like/:

    When will users have the option to add a comment to the like?

    If you are using the XFBML version of the Like button, users will always have the option to add a comment. > If you are using the Iframe version of the button, users will have the option to comments if you are using > the 'standard' layout with a width of at least 400 pixels. If users do add a comment, the story published > back to Facebook is given more prominence.

    Just use the iframe version of the button and set the width to less than 400 pixels.