Tutorials

 In this section you will find in-depth how to do involving common web development, Joomla development, WordPress development and web design techniques, etc

How to get access token on Instagram API

Category: Tutorials Written by Bao Bui / September 6, 2017
How to get access token on Instagram API

One of reasons you're supposed to get Instagram access token is to display your Instagram albums on our TZ plus gallery - Wordpress plugin , as well as TZ plus gallery - Joomla social gallery.

Luckily, it's so easy to obtain it, not really complicated as you have ever thought.

Auto Showroom - Car Dealership WordPress Theme

One of reasons you're supposed to get Instagram access token is to display your Instagram albums on our TZ plus gallery - Wordpress plugin , as well as TZ plus gallery - Joomla social gallery.

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"

 

REGISTER CLIENT

 

register form

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.

 

uncheck box

Step 3: Copy, and paste this url to your web browser -> Enter
https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=token
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/

 

replaceID

 

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.

Best Interior WordPress Theme

Thank for sharing!

About The Author


Bao Bui

Hi guys, 

I'm Bao Bui from Templaza's support team

High interest in undefined pretty things ^^