Facebook Oauthexception: "User Hasn't Authorized the Application to Perform This Action"

Facebook OAuthException: user hasn't authorized the application to perform this action

Make sure you ask for extended publish_stream permission when you're requesting code (added as the third parameter):

https://graph.facebook.com/oauth/authorize?client_id=' . FB_APP_ID . '&redirect_uri=' . REDIRECT_URI . '&scope=publish_stream'

Hope this helps.

Cheers!

(OAuthException - #200) (#200) The user hasn't authorized the application to perform this action

Had to change the scope string scope = "publish_stream, manage_pages" to string scope = "publish_stream, publish_actions";

FB-api: The user hasn't authorized the application to perform this action

as of may 2nd the offline_access permission will be deprecated and should not be used anymore

in the meantime you have an option to disable this deprecation through the developers site for your application ( https://developers.facebook.com/apps/330955886953999 )...

for further information about the removal see:
http://developers.facebook.com/roadmap/offline-access-removal/



Related Topics



Leave a reply



Submit