[Solved] How to Get Instagram Short-lived Access Token | Step by Step Guide | 2020

The recent “upgrades” of Instagram has been a right nightmare. Since Instagram is now part of Facebook; they are trying to put everything under one roof so that you can manage Instagram APIs and other connection under the Facebook Developer account. However the whole arrangement is slightly dysfunctional. We were able to navigate this digital labyrinth and will share with you how we managed to integrate and get the “Short-lived” Access Token. The documentation provided Instagram and Facebook is non-existent and utterly useless.

Intended audience:- Web developers trying to get Instragram photos and show their websites

Pre-requisites:- (1) A facebook account that you control and (2) An Instagram account that you control

So here the steps:-

(1) Go to https://developers.facebook.com/apps/ and click on:-

Add a new App
Add a new App

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(2) Click on “For Everything Else” – DO NOT click on the Business one.

Choose Everything Else
Choose Everything Else

 

(3) Choose a logical name for your app

give it a name

(4) Click on Instagram Basic Display

Instagram Basic Display

(5) Give it a name:-

write app name

(6) Go to the Basic Display tab on the left:-

Instagram Basic Display
Instagram Basic Display

(7) Scroll to the bottom and then click on “CREATE NEW APP”

Click on Create New APP
Click on Create New APP

(8) After that this section will have more options.
The “Client OAuth Settings” needs to go to a URL that you control. https:// is needed so you can’t use a URL without that. What will happen is that the Instagram will go to these URLs; in fact these URLs can be anything as long as they have https://; so I just put the URL of this url https://www.hodfords.com/ on there. The Data Deletion and Deauthorisation URLs can also be temporary ones too.

random URLs

(9) Create a Tester account by clicking into “Roles”-

Roles

(10) Search for the Instagram account that you control:-

Select Instagram Account
Select Instagram Account

(11) Open a separate window and login to your Instagram account

Instagram Profile
Instagram Profile

and then click on the “settings” icon

(12) Choose Apps and Websites

Choose Apps and websites
Choose Apps and websites

(13) Approve the Tester Responsibility

Accept Tester Account
Accept Tester Account
after acceptance
after acceptance

(14) Generate Token
Hopefully by now the tester account is created and you can go to “Generate Token”

Generate Token
Generate Token

(15) Then you will need to authorise the integration through the pop-up
Screenshot 2020-08-20 at 1.03.10 PM

Screenshot 2020-08-20 at 1.03.33 PM

Screenshot 2020-08-20 at 1.03.50 PM

(16) Get Short-Lived Access Token

Get Short-lived access token
Get Short-lived token

I really hope this article is of use to you; it took me a while to figure out how to do this; hopefully it would take you considerably less time.