How to get access token on Instagram API
Luckily, it's so easy to obtain it, not really complicated as you have ever thought.
Please follow these below steps to get your own access token which is unique for a user and need to be stored securely.
Let's get started:
Step 1: Go to this link "https://www.instagram.com/developer/" and login your Instagram account first.
Step 2: Click on "Manage client", then "register a new client"
After you're done registering a new client, an information screen will be shown out in details, including client ID, client secret and others. Importantly, you're supposed to uncheck the box of "Disable implicit OAuth", then click save.
Step 3: Copy, and paste this url to your web browser -> Enter
In particular, CLIENT-ID is replaced your client id that you had generated previously and REDIRECT-URI by your website url
For example: - My client ID: c1b7c24a8a9b469fa8b9d5925611a7b8
- REDIRECT-URI: https://www.templaza.com/
After that, grab your token, and continue your work.
Importantly, you're better off bear in mind that your tokens can probably be expired in some period of time. A remarkable notification is shown like "error_type=OAuthAccessTokenException". As a result, it will require you to reauthenticate your tokens.
We hope our extension TZ plus gallery will bring your site a super chic look than ever.