Using the Facebook C# SDK by Nathan Totten, how would I go about getting permission to post to a Facebook page wall, for a page ID they provide?
I’ve got Facebook C# SDK working to let users login using Facebook account, and making posts their own walls. However, I wish to let users enter a Facebook page ID (of which they are admin of) and then begin publishing to that wall.
When they click the login via Facebook button, if they’ve never logged in before it automatically asks for their permission. Not sure how to do this later, when the user has already granted permission to their profile info… and I want to get permission to their page wall.
To get FB permission to publish to Page Wall you need grant user manage_pages permission.
For example:
https://graph.facebook.com/oauth/authorize?client_id=123456789&redirect_uri=http://example.com/&scope=publish_stream,share_item,offline_access,manage_pages
After user was granted permission to manage pages he may publish posts to the page.
For FB button you may try this:
I personally didn’t try fb-login button, so not sure if it works correctly.