> For the complete documentation index, see [llms.txt](https://document.la-studioweb.com/yorn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.la-studioweb.com/yorn/faqs/how-to-get-instagram-access-token.md).

# How to get Instagram Access Token

Starting from **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 **Appearance -> Theme Options -> Additional Code -> Instagram Token**

**You will need:**

* A Facebook account.
* An Instagram account with media.

### **Step 1: Create a new App**

\
Go to [developers.facebook.com](https://developers.facebook.com/), click **My Apps**, and create a new app.

![](/files/WcJyhrx9rAPaV8KOmlgZ)

![](/files/JjgcqE5NdnTSY1BFnvkJ)

![](/files/5Jiq1Qso9uRCFcncDllM)

![](/files/2ImXdJekRRnaMpcHSRWM)

Once you have created the app and are in the App Dashboard, navigate to **Settings** > **Basic**, scroll the bottom of the page, and click **Add Platform**.

![](/files/wwPoAWU7whCsi65XHcja)

Choose **Website**, add your website’s URL, and save your changes.

![](/files/zMbxQzEsw84zMcUCyI6C)

![](/files/o4kekHCgkBr7BkG7cx6k)

### **Step 2: Configure Instagram Basic Display**

Click **Products**, locate the **Instagram Basic Display** product, and click **Set Up** to add it to your app.

![](/files/SMdlTzVThOhCoESLfAdD)

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

![](/files/rsBb3hvpW9OHnT6FQsX3)

In the form that appears, complete each section using the guidelines below.\
***Display Name***\
Enter the name of the Facebook app you just created.

![](/files/5MmbM11TyXXrPoLbpf0O)

***Valid OAuth Redirect URIs***

Enter your website’s URL.

For example: <https://la-studioweb.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.

![](/files/0vMHpE90pBF3d2k0q42h)

***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.

![](/files/eEvmvahSlOl2TwSWUPDr)

![](/files/OVdOqpXHH5StgBFEGOPC)

Open a new web browser and go to [www.instagram.com](https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.instagram.com%2F\&h=AT3IpFSLdh5MMecvubFoSiffDnOhipinduFlVQEukLk8fH553_YldBY9hlCWjLXyqVPYOBc6r4J7QjpF-q9Ys1RUW64vHJQlFdq8WjVDluEBjJf-rh-qsD1QNxXUiZuthm82NTKAIZjyCFL24-lQHw) 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.

![](/files/tcVG1h5CbnkxURS20GGe)

![](/files/u9yZH9fs00J1bwPEordY)

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.

![](/files/9bCYJAOsotmNvinfpBGr)

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

![](/files/VsImb59nesalz2wgn3yp)

![](/files/UbuD0VXJHriJCe0BEAwj)

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

![](/files/7okuvZUcottwmd83sDnQ)

Paste your Instagram Access Token on **Theme Options -> Integrations -> Instagram Token**

![](/files/QHN6ZXYrCzr2UClyKpW5)

{% hint style="info" %}
**Note:** Long-lived tokens are valid for 60 days and our app will refresh your token automatically before they expiring. You will not have to manually regenerate your access token.
{% endhint %}
