开发者

Integrate facebook Like button for a specific element of my website

I have a website where i implement a wall of messages, the idea is to add to each of this wall messages a like button, where clicking on it would immediately post on the user's facebook profile page that he likes THAT SPECIFIC COMMENT.

Is this possible? I just enter this new world of facebook php developers, and as far as I have read here it always talks about adding a Like button for a specific URL. I would like to make the like button apply for the specific post within the messages wall.

I am clueless as where to start, if by the way any one could recommend a detailed tutorial on 开发者_StackOverflow中文版how to integrate a website to facebook in its different ways, i would really appreciate it.

EDIT: Looking into @Kaan Soral suggestion of using open graph, I think it is important to add that I dont want each wall post that the user likes to appear in the "Likes and Interests" section of his profile... This wouldn't make sense because he would rapidly have loads of likes of separate wall posts.


Its possible, read this: http://developers.facebook.com/docs/opengraph/

You have to create a URL for every item that will be liked and on that URL there should be META tags for descriptions, image etc

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜