Access Requirements
Before you begin, note the following requirements for Instagram API access:| Pre-Requisites | Status | Comment |
|---|---|---|
| Paid dev account | ❓ | |
| Paid test account | ❓ | |
| Partnership | ❓ | |
| App review | ❓ | |
| Security audit | ❓ |
Registering Your App
Apps for the Instagram API can be registered at the Facebook for Developers console.Instagram uses Facebook’s developer platform for app registration and OAuth configuration.
Choosing the Right API
Instagram offers two different APIs with different authentication methods:Instagram Basic Display API
The Basic Display API uses standard OAuth 2.0 authentication:- Required scope:
user_profile(mandatory) - Optional scope:
user_media - Documentation: Instagram Basic Display API docs
- OAuth scopes: Available permissions
The documented scopes may not work as expected. What has been confirmed to work are
user_profile and user_media.Instagram Graph API
For access to the Instagram Graph API, you need to use Facebook OAuth:1
Set up Facebook OAuth
The Instagram Graph API uses Facebook OAuth to authenticate accounts. Add a provider config for Facebook to Nango with the scopes specified in the Instagram Graph API documentation.
2
Complete the login flow
Let your users complete the Facebook login flow through Nango.
3
Retrieve Instagram account details
Once the login flow completes, you can query the Facebook API for the Instagram account details. Follow steps 4-6 in the Instagram Graph API getting started guide.