问题
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