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:
Go to developers.facebook.com, click My Apps, and create a new app.
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.
Choose Website, add your website’s URL, and save your changes.
Click Products, locate the Instagram product, and click Set Up to add it to your app.
Click Basic Display, scroll to the bottom of the page, then click Create New App.
In the form that appears, complete each section using the guidelines below.
Enter the name of the Facebook app you just created.
Valid OAuth Redirect URIs
Enter your website’s URL.
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.
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.
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.
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.
Your Instagram account is now eligible to be accessed by your Facebook app while it is in Development Mode.
Navigate to App Dashboard > Products > Instagram > Basic Display page and scroll down to User Token Generator section. Click on "Generate Token" button.
Log in with your Instagram account. Allow the app to access your Instagram account data.
Click on "I understand" checkbox then copy your Instagram Access Token.
Paste your Instagram Access Token on Instagram Shopping & Feed app configuration page.
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.
After get the new access token, you have to config from Gecko theme to show Instagram images.
If you enter an access token here, it will apply to all Instagram blocks such as Instagram section, Instagram in product sidebar, Instagram in the blog sidebar. Because you have to change an access token every 60 days so make a config and apply for all blocks will much better and easier for you instead go to each block and config one more time.
Please note that this config doesn't require if you already config from General in 2.1 above
When you config from General, it will apply for ALL Instagram sections.
This config developed for the special purpose only, for example you config in General and want it apply for Product sidebar and Blog sidebar but with Instagram section, you want to show different images so you can enter 2nd access token.
Same with 2.2 but you can config it here
Same as 2.2 but you have to config it here