如何“喜欢”和“注释”在Facebook上通过Graph API在iPhone上? [英] How to "like" and "comment" on facebook through Graph API in iPhone?
问题描述
-
我想为每个新闻Feed帖子提供Like功能。 >
-
我想为每个新闻资讯提供评论功能。
有人可以帮助我如何使用iphone中的图形API来解决这个问题。
请参考在这里我的回答:如何在Facebook中通过FBconnect或Graph API在iPhone中评论或喜欢照片?
只需发布您的Access令牌到 https://graph.facebook.com/ID_OF_THE_POST/likes 或您的访问令牌和该消息作为的参数https://graph.facebook.com/ID_OF_THE_POST/comments 。
有关更多信息,请参阅Facebook文档中的发布部分: http://developers.facebook.com/docs/reference/api
I am displaying news feed using graph api. I have queries about below problems.
I would like to give "Like" functionality for each news feed post.
I would like to give "Comment" functionality for each news feed post.
Can someone assist me how to solve this problem using either graph api in iphone.
Please refer to my answer here: How to comment or like a photo in facebook through FBconnect or Graph API in iPhone SDK?
Just post your Access Token to https://graph.facebook.com/ID_OF_THE_POST/likes or your Access Token and the Message as a parameter to https://graph.facebook.com/ID_OF_THE_POST/comments.
For more info see the "Publishing" part in the Facebook Documentation: http://developers.facebook.com/docs/reference/api
这篇关于如何“喜欢”和“注释”在Facebook上通过Graph API在iPhone上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!