I have a facebook app which can post to the wall of a page by using the administrators 'publish_stream" permission. However I don't want to have the ability to post all over a user's wall, only the pages they control.
Since this is being done automatically I will need a permanent token (offline_access) and obviously the publish_stream permission. But I'm unsure how to request this.
I have seen some applications, like the notes app in pages which have a setting for allow this app to post on wall
. This would be easier, but otherwise does anyone know how I can request publish_stream permission for a page via the graph api?
For example, this is the request I use to get the user authorization code before requesting a token. I can't find an equivalent to request authorization for a page though.
https://www.facebook.com/dialog/oauth?
client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&scope=email,read_stream