Search code examples
htmlfacebookfacebook-graph-apiinstagraminstagram-api

Facebook Login not using Instagram_basic permission request


I'm having some issues authenticating my Instagram account and "approving" the right so that the application can use the images from my corporate Instagram account.

Using this documentation to follow our guide: https://developers.facebook.com/docs/instagram-api/getting-started

Here is what I have completed:

  • An Instagram Business Account or Instagram Creator Account
    • This has been completed and the Instagram account is a business account

  • A Facebook Page connected to that account
    • This has been completed and linked to the Instagram account (Both the Instagram account and the Facebook page are in our Business Manager panel)

  • A Facebook Developer account that can perform Tasks on that Page
    • Using my account with all the permissions granted such as (Owner, developer, etc..)

My Approved Permissions and Features:
Approvals

The Facebook Login button is displayed inside our WordPress settings panel:
Login Button

Problem:
When I click on the Facebook login button, I only get authenticated to provide my "email address", but instead I need the permissions for Instagram_basic, manage_pages that we're approved.
Only email is being asked

Code: In the code, I have the instagram_basic and manage_pages scopes defined.

<fb:login-button scope="public_profile,email,instagram_basic,manage_pages" onlogin="checkLoginState();"></fb:login-button>

Does anyone know what I might be doing wrong?


Solution

  • Had the same, just click continue and there will be another windows which asks you to confirm the access to instagram and the pages you want the app to have access to.