开发者

Link to Like a specific comment on facebook?

I've been looking around for a way to link to a specific comment so that when people click the comment will be "Liked" All the info I have about the comment is:

button class="stat_elem as_link cmnt_like_link" type="submit" name="like_comment_id[5822057]" value="5822057" title="Like this comment"

Can anyone tell me how to link a like button to that specifi开发者_如何学JAVAc comment with id 5822057 ?


Check out the documentation on comments and graph api here, but basically it says this:

You can like a comment by issuing an HTTP POST request to COMMENT_ID/likes with the publish_stream permission. No parameters necessary.

so the link for you would be

http://graph.facebook.com/5822057/likes?access_token=[YOUR_ACCESS_TOKEN]&method=post

This should set you on the right path.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜