How to get Instagram Token

Modified on Sat, 25 Mar, 2023 at 11:09 AM

Starting in March 2020, Facebook requires users to create a Facebook app with Instagram Basic Display API to get a long-live Instagram Access Token. Follow our instructions on this section to get your own Instagram Access Token and paste it back on the Instagram Shopping & Feed app back-end configuration page.

 


You will need:

  • A Facebook account.

  • An Instagram account with media.

Step 1:

Go to developers.facebook.com, click My Apps, and create a new app.


Screenshot__531__LI.jpg

 

Screenshot__531_.png

 

 

Step 2: Configure Instagram Basic Display


Click Add Product, locate the Instagram product, and click Set Up to add it to your app.

 
Screenshot__547_.png
 

Click Basic Display, scroll to the bottom of the page, then click Create New App.



Screenshot__550_.png

In the form that appears, complete each section using the guidelines below.

Display Name

Enter the name of the Facebook app you just created.



Screenshot__551_.png

Valid OAuth Redirect URIs


Enter your website’s URL.


For example:https://yourstore.mytradift.com


After you enter a URL, save your changes and check the URL again; Instagram may have appended a trailing forward slash depending on your URL structure.


Deauthorize Callback URL

Enter your website’s URL again.


Data Deletion Request Callback URL

Enter your website’s URL once again.


Screenshot__552_.png


App Review

Skip this section for now since you will not be switching the app to Live Mode during the tutorial.

 

Save your changes before heading to the next step.

 

Step 3: Add an Instagram Test User

Navigate to Roles > Roles and scroll down to the Instagram Testers section. Click Add Instagram Testers and enter your Instagram account’s username and send the invitation.


Screenshot__555_.png

 



Open a new web browser and go to www.instagram.com and sign in to your Instagram account that you just invited. Navigate to (Profile Icon) > Click on the cogwheel icon next to “Edit Profile” button > Apps and Websites > Tester Invites and accept the invitation.



Screenshot__565_.png

Screenshot__560_.png

Your Instagram account is now eligible to be accessed by your Facebook app while it is in Development Mode.

 

Step 4: Generate Access Token for Test User


Navigate to App Dashboard > Products > Instagram > Basic Display page and scroll down to User Token Generator section. Click on “Generate Token” button.


Screenshot__562_.png

Log in with your Instagram account. Allow the app to access your Instagram account data.

Click on the “I understand” checkbox then copy your Instagram Access Token.



Screenshot__562_.png

Paste your Instagram Access Token on Instagram Shopping & Feed app configuration page.

 

NOTE:

Long-lived tokens are valid for 60 days, and you will need to regenerate the token by clicking on Generate Token again.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article