Reputation: 1651
I have created app for sending post on user's wall on his behalf. I got publish_actions approval from Facebook team for this app. but still i am not able to send post. I am gettoing following error.
{"error":{"message":"(#200) The user hasn't authorized the application to perform this action","type":"OAuthException","code":200}}
Exception in thread "main" org.springframework.social.InsufficientPermissionException: Insufficient permission for this operation.
There is also a problem when my app asking user for approval, its only showing public profile like following screen shot.
Upvotes: 1
Views: 903
Reputation: 31479
Have a look at https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.2#login
You need to add a comma-separated list of your permissions for the scope
parameter:
scope
. A comma separated list of Permissions to request from the person using your app.
Upvotes: 1