开发者

Integrate Facebook Like button in website... With comments option

Please see: http://developers.facebook.com/docs/reference/plugins/like

I successfully integrated a [Like] button in my website using this link.

On the developers website, when I click the [Like] button, a popup appears telling this:

You like this.
Share it on Facebook with a comment...
[                         ]
           [Post to Facebook] [Cancel]

On my website, there is no such popup. I tested both iframe and FBML versions.

Does anyon开发者_运维知识库e has a solution, or is this feature only reserved for www.facebook.com ?

Thanks.


Here's what facebook says: "When will users have the option to add a comment to the like? If you are using the XFBML version of the Like button, user's will always have the option to add an optional comment to the like. If you are using the Iframe version, users will have the option to add a comment only if you are using the 'standard' layout with a width of at least 450 px. If users do add a comment, the story published back to Facebook is given more prominence."

You could also replace the like button with a share button and be able to add comments.


You may not have all of the required meta data in the meta tags. See here:

http://developers.facebook.com/docs/opengraph


See this thread on the Facebook developer forum : http://forum.developers.facebook.com/viewtopic.php?id=57294

It might help you even though I still didn't get it to work.

EDIT:

Check out this other thread : http://forum.developers.facebook.com/viewtopic.php?id=57402

The last comment concludes that the page must not be on localhost for it to actually work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜