How to Get Instagram Access Token?
The Instagram Feed module for Divi Builder is the perfect solution for showcasing your Instagram feed within the Divi theme. It provides several features, including responsiveness, custom profile picture display, custom bio, follow button integration, support for captions, and a convenient load-more button. This module effectively displays Instagram photos uploaded by the authenticated user.
Setting Up the Instagram Feed Module
To use the Instagram Feed module, you need an access token. This token allows secure access to your Instagram account data. Follow this guide to generate the access token using the Instagram API with Instagram Login.
Prerequisites
Before you can generate an access token, you must connect your app to a Business account that has completed Business Verification. Follow Meta’s Business Verification guide for instructions.
Step 1: Ensure You Have an Instagram Creator or Business Account
Before proceeding, make sure your Instagram account is either a Creator or Business account.
- Log in to your Instagram account.
- Convert your account by following these instructions:
Step 2: Set Up an Application
You need to set up an application on the Meta for Developers platform by following these steps:
- Access your Meta for Developers platform. You can use an existing account or create a new one.
- Click Create App. A dialog will appear asking you to define your app’s functionalities.
- Select Other as the use case and click Next.
- Select Business as the app type to set the app permissions and click Next.
- Provide an App Name and Contact Email.
- Click Next to complete the setup.
- You will be redirected to your app dashboard where you can add products to your app.
Step 3: Add the Instagram Product to Your App
On the app dashboard:
- Scroll down to Products and locate Instagram.
- Click Set Up next to Instagram.
- Select API Setup with Instagram Login (NOT API Setup with Facebook Login).
Step 4: Generate Your Instagram Access Token
To retrieve an access token:
- Assign an Instagram account for token generation:
- In the App Dashboard, go to Instagram > API Setup with Instagram Login.
- Click Add an Instagram Account.
- Log in with your Instagram Creator or Business account credentials.
- Confirm the account connection:
- Your Instagram account must be public.
- If you manage multiple accounts, ensure the correct one is selected.
- Copy the generated access token tied to the assigned Instagram account.
Step 5: Add the Access Token to Divi Torque
To finalize the setup:
- Navigate to Divi Torque Settings > Intregration > Instagram in your WordPress dashboard.
- Paste the Instagram Access Token into the Instagram Access Token input field.
- Save your changes.
For more information, refer to Meta’s official documentation on Create a Meta App for Instagram Platform.