Search code examples
iosfacebook-graph-apifacebook-ios-sdkfacebook-page

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


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.


Solution

  • 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