开发者

Sync like button - from facebook page to display on webpage

I've pasted the like code to add the button on my webpage. When clickers click on the link, they are only liking the "link". Where would I find the code to have clickers like the "fb page开发者_如何转开发" from the website? Right now, there are 2 separate likes, ones who like the "web link" and those who like the "fb page". I would like to have those who like from the website sync with the page - is this possible?


Set the href property of like button to your facebook page like <fb:like href="http://facebook.com/cocacola"></fb:like>


you should use open graph tags provided by facebook to set the url and other properties of your like button.. example code can be found in FB documentation ( Look for the usage of tags like

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜