# How to get Instagram Access Token

This tutorial from EtsSoft company (original link: <https://insta-app.etssoft.net/docs/how-to-get-instagram-access-token>). They are a **technology solution company** founded by programmers and designers who are smart, devoted, creative and experienced in the field of eCommerce. Founded in 2013, they are attempting to become **one of the best companies to provide eCommerce solutions for Prestashop, Shopify and WordPress users**. You can check their service at <https://etssoft.net/> and thanks EtsSoft for allowing us use this article.

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 **Instagram Shopping Gallery Pro** app back-end configuration page.

You will need:

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

You can watch the instruction video here:

{% embed url="<https://www.youtube.com/watch?v=rWUcb8jXgVA&feature=emb_title>" %}

#### **Step 1**:

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

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_54.png)

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

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQfcjeZdB12fhnfQSR%2Fimage.png?alt=media\&token=ff976292-68cf-40a9-8eda-b032a86e1220)

Choose **Website**, add your website’s URL, and save your changes.&#x20;

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQf0CUmsZxeIPO09wO%2Fimage%20\(1\).png?alt=media\&token=ede2f50b-ab4a-498a-be30-ff4d04bad71b)

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQf7_PTu0xB5z9xYHP%2Fimage%20\(2\).png?alt=media\&token=0148a995-b7e9-4517-a0c7-532bc92d2654)

#### **Step 2**: Configure Instagram Basic Display <a href="#step-2--configure-instagram-basic-display" id="step-2--configure-instagram-basic-display"></a>

Click **Products**, locate the **Instagram** product, and click **Set Up** to add it to your app.![](https://scontent.fhan5-6.fna.fbcdn.net/v/t39.2365-6/72282554_751755955273916_2109774612530200576_n.png?_nc_cat=107&_nc_sid=ad8a9d&_nc_oc=AQmFHInf15p2CHtWrQV6u4tckx6uh5SjGn7Ycy44tbgRgD3qbi5EIXHD_rS5F_h9Ykw&_nc_ht=scontent.fhan5-6.fna\&oh=7cfccfdafba6b148cbc5d8e5f24f23f8\&oe=5E99F9A1)

Click **Basic Display**, scroll to the bottom of the page, then click **Create New App**.![](https://scontent.fhan5-2.fna.fbcdn.net/v/t39.2365-6/72133609_2372753246311211_7775884782981873664_n.png?_nc_cat=102&_nc_sid=ad8a9d&_nc_oc=AQkjmGeJyMmpVS-dQvBnbTpjHyE_qEaPZiGmsXm3MGfsoFd7MPrrvGWEZlb7WmCpGiw&_nc_ht=scontent.fhan5-2.fna\&oh=ddf29b84583ee4ec572338790de60b6b\&oe=5E85B3C6)

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

***Display Name***

Enter the name of the Facebook app you just created.

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_56.png)

***Valid OAuth Redirect URIs***

Enter your website’s URL.

For example: `https://ets-instagram.myshopify.com/auth/`

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.

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_571.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 <a href="#step-3--add-an-instagram-test-user" id="step-3--add-an-instagram-test-user"></a>

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.

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQexdYoLTJWYO6CgHZ%2Fimage%20\(3\).png?alt=media\&token=2dca3327-e7bc-43eb-8951-aec0a0a578bc)

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQfj0bSWs9sSd0cpal%2Fimage%20\(4\).png?alt=media\&token=a0d62e6b-78bb-4652-b3a6-e79d07ac68c4)

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.

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQfmZhiT0daJHsH0vd%2Fimage%20\(5\).png?alt=media\&token=aadcb67b-c626-4eb8-ac93-736c340bc30e)

![](https://1592055530-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLM_O6jG_2F5SzhLVjb%2F-MLQeBiRhkbFpz85_dCh%2F-MLQfq_XqFu7TfN-83qf%2Fimage%20\(6\).png?alt=media\&token=5613ffa8-30cd-480b-836f-21f431617f55)

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

#### &#x20;

#### Step 4: Generate Access Token for Test User <a href="#step-4--authenticate-the-test-user" id="step-4--authenticate-the-test-user"></a>

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

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_66.png)

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

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_60.png)

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_65.png)

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

![](https://insta-app.etssoft.net/storage/posts/March2020/Screenshot_67.png)

Paste your Instagram Access Token on **Instagram Shopping Gallery** app configuration page.

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