How To Get Instagram Access Token in 3 Easy Steps?

GET-ACCESS-TOKEN-display-instagram-feed-on-your-website

If you need to use the token to display your Instagram feed on your website, you can use plugins like SociableKIT. No token is needed. Learn how to use SociableKIT here.

FYI: This tutorial does not work anymore. You need to follow Instagram's new way of authentication to get the token. More details here.

Ever wonder how to get or generate your own Instagram access token? In this tutorial, we will solve your problem in 3 easy steps!

Register a new client.

Go to this link to register a new client. You should see a page like the following.

1

Get the client ID.

Go to "Manage Clients" page, you should see a page like the following.

2

Get Intagram access token.

On your browser, go to this URL format. Replace YOUR_CLIENT_ID_HERE with your client ID, and yes, the redirect_uri is just http://localhost.

https://instagram.com/oauth/authorize/?client_id=YOUR_CLIENT_ID_HERE&redirect_uri=http://localhost&response_type=token

It will redirect you to a URL with your access token. URL will look like the following.

3

All the characters after "access_token=" is your access token.

Easy! right? Now you can use your access token to Instagram developer tasks like this tutorial.

Thanks for reading our tutorial on how to generate or get Instagram access token!

Hi! I'm Mike Dalisay, the co-founder of codeofaninja.com, a site that helps you build web applications with PHP and JavaScript. Need support? Comment below or contact [email protected]

I'm also passionate about technology and enjoy sharing my experience and learnings online. Connect with me on LinkedIn, Twitter, Facebook, and Instagram.