Can I post on page's wall with an iOS application?

天涯浪子 提交于 2019-12-10 16:23:22

问题


How to post to a page's wall using FaceBook Graph API for iPhone?

Should I need to prompt for any permission for that?

Is it possible or not?

Thanks in advance.


回答1:


You can using the Post method. It requires the publish_stream permission. The user needs to have "liked" the page in question.

To publish a wall post, POST the message and optional attachment to the feed/wall of the user, page or group, i.e., http://graph.facebook.com/PROFILE_ID/feed.

Annoyingly, the one thing that Graph API will not allow, is to let the user "like" a page through it. The user must already have "liked" the page. (catch-22)

Graph API Page documentation



来源:https://stackoverflow.com/questions/5803110/can-i-post-on-pages-wall-with-an-ios-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!