You can use this token:
- To get images from Instagram using PHP. Read more here.
- You can also do it with JavaScript or jQuery.
How to Get Instagram Client ID and Client Secret?
Watch this video or read the instructions with screenshots below.
Go to app registration page and click . If you never visit Instagram API page, it may ask you some questions before you can create an app.
On the "Register new Client ID" page specify any app name, any description and any website, but in the Valid redirect URIs field you should input the URL of this tool page – https://rudrastyh.com/tools/access-token
. Once you generate your token, you can change it if you want.
After clicking the button you will be redirected to Manage Clients page with all your apps where you will find your Client ID.
And the final step — click on the Manage button to get your Client Secret.
Here we go.
Does it still work in 2019?
Yes, all my Instagram tutorials are updated according to the latest Instagram API changes. If it doesn’t work for you, please let me know.
Comments — 16
Hi! I see that, sadly, this token expires. I see that there’s a way to dynamic generate the access token using this method:
though he wants a redirect (which is a bit absurd if i want to show my instagram photos). Do you know if there’s a way to do it server side without any redirect? Thanks!
Hi,
The first step is to redirect to Instagram to the URL you provided, once you got there, Instagram will ask for your permission and then sends you to an URL, which can fetch an access token from the
code
variable, provided by Instagram.Something like this…
Hey I keep getting NULL in the return? I followed all steps correctly :/
I also get NULL :(
I receive this message: This request requires scope=public_content, but this access token is not authorized with this scope. The user must re-authorize your application with scope=public_content to be granted this permissions.
Thanks man!
This prompts me to login to instagram. I don’t have access to my client’s instagram account. Maybe things have changed?
You have to login to get the token, it is correct.
Hi! Thanks for this helpfull solution ! Just one question, this also work after 2020 update ? Same for your WP plugin ? Thanks
Hi,
Not sure about this tool, but my plugin are going to continue working ;)
Work, perfect!
Thanks!
Hi – this post looked very much like what I may need to use php to pull photos and hashtags of those photos on to a website’s page I am creating. However the “Register New Client” button is now not working :(. Do you happen to know if I need to create an App – when I do so it seems to want me to select a product to integrate with and then go through the process of getting approval. That seems overly complicated for just wanting to pull data one way and not in any way shape or form manage the data and do anything other than sort it on my end. Any help or further suggestions are greatly appreciated.
New registrations not supported anymore.
Can’t register anymore ):
That’s true… Instagram shut it down.
So In the bottom of the Post is says “Does it still work in 2019? Yes, ” but in this comment you say its shut down. does this mean the post needs updated to say it no longer works?
Or just to wait 1 month 😁