So, in a quick and easy steps, I will be showing how to Generate Instagram Access Token the easy way. “I love easy and I don’t like what I hate” .
Firstly, go to Instagram Developer page and login to your account. I want to believe you already have a developer account and you have a registered client. If you don’t, then click on ‘Manage Clients’ and register a new client.
Fill all the required details properly and set your “Valid redirect URIs:” to your development URI e.g http://localhost/project/ ; a URL only you can privately access. Occasionally, I’m used to something like http://project.dev/ for my development.
Complete the client registration process and make sure you have the “Disable implicit OAuth” box unchecked in the ‘Security’ tab.
On completion, click on ‘Manage‘ to get the Client ID we need for the Access Token.
Now, copy the CLIENT ID and replace it in the address below.
Make sure you change the value of redirect_uri to your appropriate development environment.
Copy the full link to your browser and press enter. This will obviously take you to Instagram server where you will grant the newly registered client the access to your Instagram account. Proceed with this step and grant the client the access to your account.
After a successful access grant, Instagram will redirect you back to your redirect_uri with the access token as [redirect_uri]/#access_token=[ACCESS_TOKEN] .
The “How to Generate Instagram Access Token” steps are easy and you should have no issue doing it.
Furthermore, the “Client Status” is set to Sandbox Mode by default. With this mode on, only users on your “Sandbox Invites” list are permitted to use your app. You can only invite a max of 10 users to use your app. To opt-out of sandbox mode read this Instagram note depicted below:
Now that you know how to Generate Instagram Access Token, remember to keep it like a TOKEN.
If you have any contribution or question, please SAY SOMETHING below. Thanks.