New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Error: Error from Instagram: The access_token provided is invalid. #368
Comments
I have this issue too. |
You are seeing that error because of new API restrictions that Instagram introduced last November. Please see #345 for more information. |
@stevenschobert somehow, I'm finding this very difficult to understand. #345 mentions that they are able to pull their own feed without the Should I be able to pull my own feed with a new Instagram Thank you so much! |
I've got three sites that were working but now get 'Uncaught Error: Error from Instagram: The access_token provided is invalid.' I haven't changed anything and my instagram clients are the same. |
I actually had this working, too, and it just recently started giving me that same error. |
any update about this error? I was trying to test instafeed.js but I get the same error |
Any update on this? |
If you are having trouble follow the #345 for more information. In the end all you have to do is follow the following steps: Requirement You need to (or get your client to) log into the Instagram account which you want to grab feeds from. Sample code var feed = new Instafeed({ USER_ID is simply the first few numbers before the dot in your Access Token XXXXXXXXXX.12345678.... no client_id needed |
Hey @NickEngmann the token has a lifetime ? |
I don't believe that the generated token has an explicit lifetime, only that Instagram don't guarantee that it will be valid 'forever' - seems to be more of a disclaimer to avoid liability than anything else. If you're only pulling your own Instagram feed then there seems little else to do. Your 'app' will be in Sandbox mode and you can pull the last 20 of your own posts. If you need to use instafeed for a client, you'll need to add them as a sandbox user and have them accept the Sandbox invitation, then log into Instagram and use pixelunion to generate a token for their own userID. |
Thanks @NickEngmann worked for me. |
with @NickEngmann strategy it worked for me. Just remember to use the full accessToken generated in the accessToken js field |
Great, @NickEngmann it worked for me too.. |
I had trouble with this myself. I followed these instructions and got it to work. The access token is the token from Step 8. remember to add your client as a sandbox user so you can access their feed. |
@jackiboy Thanx for sharing, it was really helpful! |
@NickEngmann thanks it worked for me 👍 |
Hi there,
I'm new to this, so I might be doing something wrong.
I followed the instructions at: http://instafeedjs.com, but cannot get anything to show up when I load my test html page in a browser.
I think I successfully created a client on the Instagram site and entered the clientId in the html file, but I keep getting this error:
Uncaught Error: Error from Instagram: The access_token provided is invalid.
Appreciate any suggestions.
Thanks,
dr-f
The text was updated successfully, but these errors were encountered: