Question

what permissions do i need for my facebook app to update status on user behalf.

I already have publish_actions and publish_streams permissions but still my app gives me an error:

error 200: the user did not grant this app the required permissions.

Was it helpful?

Solution

The permissions set in the App Settings are not applied to the app. They are used for logins triggered from the App Center by the Play Game/Go to App buttons – since that is a mechanism where you as the app developer don’t trigger/implement the login yourself, you can not set a scope parameter there; and therefore you make those settings in your app dashboard, so that Facebook knows what permissions to ask for when the user enters your app this way. - Info by CBroe.

For the permissions be applied in your app, you should set the permissions through your code. The permissions are set while implementing the login functionality. For eg: In Javascript, it is done like this: FB.Login

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top