How to Generate Instagram Access Token for a Business Account
Follow these step-by-step instructions to generate and retrieve an Instagram access token for your business account.
***Note: Ensure you have a business Instagram account linked to a Facebook page. If you’re using a personal Instagram account, you’ll need to convert it to a business account. Refer to Facebook’s guide on how to make this conversion.
STEP 1: Connect Your Instagram Account to Your Facebook Page
Log in to your Facebook account and navigate to the page you want to link with your Instagram account. Click the “Switch Now” button to switch to that page.
On the left-hand sidebar, look for the option “Boost Instagram Post”. Click it to proceed.
You’ll find a “Connect Account” button on the next page. Click it, and a series of permission requests will appear. Confirm each by clicking “Connect” and “Confirm”.
A new window will appear asking for your Instagram login details. Enter your credentials and log in.
After logging in, you’ll be asked to choose between a “Creator” or “Business” account. Select the “Business” option, then click “Next”.
Instagram will prompt you with several permission requests. Continue clicking “Next” until you reach a page where you can enter your business profile details.
Once all information is completed, click “Done”. Your Instagram account is now successfully connected to your Facebook page.
STEP 2: Create An App For Business On Facebook For Developers
To get the access token from Instagram, you’ll need to create an app on Facebook Developers. Log in to your Facebook account, then go to your Facebook Developers Account. Select “Apps” in the menu and click the “Create App” button.
A popup will appear asking you to specify what your app will do. Choose the “Other” option, then click “Next”.
On the following screen, select the “Business” option to ensure you can connect relevant permissions and consumer products.
Fill in the required fields: “Display Name”, “App Contact Email”, and “Business Account”. Then, click “Create App”.
STEP 3: Configure Instagram API & Facebook Login for Your Business App
After successfully creating your app, you’ll be taken to a configuration page. Click “Configure” under the “Instagram” section.
Note that these API permissions are for Instagram business accounts, not personal profiles. For more information, check Instagram’s documentation on business profiles here.
Copy the App ID and App secret and paste them into the configuration page of the “INS Shopping Slider” module:
Next, go to the Dashboard (in the left sidebar) and scroll down to find the option “Add products to your app”. Find “Facebook Login for Business” app and click “Configure”.
Review the permissions you want to grant, and once you’re satisfied, click “Save Changes”. Your Instagram Graph API and Facebook Login for Business app are now created.
Go to Tools → Graph API Explorer on the Meta for Developers dashboard or visit https://developers.facebook.com/tools/explorer/.
Choose the app you created from the “Meta App” field, and under the “Permission” section, grant the following permissions:
pages_show_list
business_management
instagram_basic
instagram_content_publish
instagram_manage_comments
instagram_manage_insights
pages_read_engagement
pages_read_user_content
pages_manage_posts
publish_video
STEP 4: Generate the Instagram Access Token
Click the “Generate Access Token” button.
A popup will appear where you’ll need to follow the instructions. Switch the Facebook account and click on the “Continue” button.
Then, select your Facebook business account, app name, and Instagram account, clicking on the blue buttons to proceed.
Once your Instagram access token is generated, copy it.
From the menu bar on developers.facebook.com, go to Tools → Access Token Debugger, or directly visit https://developers.facebook.com/tools/debug/accesstoken/.
Paste your access token and click the “Debug” button to debug it, like the screenshot below.
Then, at the bottom, click the “Extend Access Token” button to obtain the long-lived access token.
Copy the long-lived access token and paste it into the configuration page of “INS Shopping Slider” module.