Re-request permissions to use Facebook using oAuth does not work

I started filing for two permissions (manage_pages and read_insights) and it was approved. How can I request permission now?

The fact is that I already used permissions in my web application, but I didn’t have enough changes on April 30th. This means that my clients have already accepted permission earlier, but in case of changes they were deleted.

This is what my authentication code looks like:

https://www.facebook.com/dialog/oauth?client_id= {my appId} & redirect_uri = {my redirectUri} & auth_type = rerequest & scope = user_friends, email, public_profile, manage_pages, read_insights

This doesn't work at all ... I already used Fiddler to find out what was going on, and it says that I denied permissions. But I could not even accept them, because they did not ask me.

Can someone help me?

+4
source share
1 answer

According to the docs, you need to add a parameter auth_type=rerequestto the request, as you already know:

https://www.facebook.com/dialog/oauth?
    client_id={app-id}&
    redirect_uri={redirect-uri}&
    auth_type=rerequest&
    scope=user_friends,email,public_profile,manage_pages,read_insights

Cm

The behavior you are experiencing may be due to the fact that you did not pass the login check, what you need to do if you want to use advanced permissions in your application.

Cm:

/ / , .

+3

Source: https://habr.com/ru/post/1589368/


All Articles