I recently added business_management to our list of application scopes. Now when I go through the auth process I get the following error.
Invalid Scopes: business_management. This message is only shown to
developers. Users of your app will ignore these permissions if
present. Please read the documentation for valid permissions at:
https://developers.facebook.com/docs/facebook-login/permissions
I can't find anywhere any answers why this would be an invalid scope. I assume it's like manage_pages, but are there different requirements or is the auth url different?
This could also be due to your app not having been reviewed and approved for the required permissions. I would advise checking at the URL below:
https://developers.facebook.com/apps/[[appid]]/review-status/
And check if the required permissions have been reviewed and granted.
If they have not, you will continue seeing the above error.
Related
When I use Facebook login in my webapp. I am getting this error.
"Invalid Scopes: user_about_me, user_website. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
How to fix this? Do I need to change anything in my Facebook App page?
Thanks
I'm trying to call
/v2.9/{comment-id}/private_replies
(https://developers.facebook.com/docs/graph-api/reference/v2.9/object/private_replies) but always get the following error:
(#200) Requires read_page_mailboxes permission to manage the object
I'm using a test version of the app. The user submitting the comment is an administrator of the app. From my understanding, if the user is an administrator, the permissions wouldn't need to go through the review process just for testing/developing? read_page_mailboxes is not yet a confirmed permission for the app.
Any ideas what the problem could be?
Answering my own question: The problem in the end was that the access token didn't include the read_page_mailboxes permission. I had to manually create a page access token that includes it.
I initially created the token here: https://developers.facebook.com/apps/{APP-ID}/messenger/ but that doesn't seem to add the necessary permission.
See here on how to create a permanent page access token: https://stackoverflow.com/a/43570120/769726
The permission doesn't need to be approved by Facebook while you're still in development.
I have error when I want login drupal 7 with facebook account and I use module hybridauth.
like this:
Invalid Scopes: offline_access, publish_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
From same question I found the answer and it is to remove permissions offline_access and publish_stream in scope variable but I don't understand how to do that?
anyone can help me?
The permissions offline_access and publish_stream are deprecated, thus cannot be requested anymore.
publish_stream can be replaced by publish_actions, offline_access is gone.
See
https://developers.facebook.com/docs/facebook-login/permissions/v2.4#reference
https://developers.facebook.com/docs/apps/changelog
If you have following Url request while login with Facebook authentication (1). Then you have to remove last parameter you are sending and try following url (2) request hope it will works.
https://www.facebook.com/dialog/oauth?client_id=113006002193070&redirect_uri=http%3A%2F%2Fyougagged.com%2Findex&scope=email%2C+offline_access (1)
https://www.facebook.com/dialog/oauth?client_id=113006002193070&redirect_uri=http%3A%2F%2Fyougagged.com%2Findex (2)
I had a great way of obtaining an access token with the publish_actions, manage_pages, and photo_upload permissions. I followed the manual workflow from Facebook itself.
https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.1
I used the scope parameter to set these permissions. The problem only occurred recently when I was only getting access tokens that only had public_profile permission. I don't understand how it could work one week and then not the next.
Any ideas or advice.
Thanks
Ok so after a lot of research it seems that I had the wrong permissions. I ad been developing this application for the past 8 months or so and apparently in that time Facebook has changed the names of its permissions. So if your using a manual OAuth workflow for Facebook please make sure your permissions are valid.
I have this app that create events on behalf of a page. All of a sudden the event creation stopped working, the Graph API giving the following error
403 Forbidden: {"error":{"message":"(#290) Requires extended permission: create_event","type":"OAuthException"}}
Has there been any recent changes that might have affected my app's functionality? Is there any way to request "create_event" permission as the page? Using for example FB.login() requires me to change back to my user.
Turns out that due to the Oauth2 change recently (probably), the permission on the old access token was gone (maybe should've thrown something like "invalid access_token" error instead...). Follow the instructions on https://developers.facebook.com/docs/authentication/ with the create_event permission in addition to manage_pages.