Set up Instagram with Tenklo
Register an OAuth app with Instagram and connect it to Tenklo
This guide shows you how to register your own app with Instagram to obtain your OAuth credentials (client id & secret). These are required to let your users grant your app access to their Instagram account.
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.
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
user_profile and user_media.Instagram Graph API
For access to the Instagram Graph API, you need to use Facebook OAuth:
The Instagram Graph API uses Facebook OAuth to authenticate accounts. Add a provider config for Facebook to Tenklo with the scopes specified in the Instagram Graph API documentation.
Let your users complete the Facebook login flow through Tenklo.
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.
For more information on Instagram's APIs, see the Instagram Basic Display API documentation and Instagram Graph API documentation.