Skip to content
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

Instagram error 400: The access_token provided is invalid. #8

Open
jasper2xF opened this issue Jan 11, 2016 · 0 comments
Open

Instagram error 400: The access_token provided is invalid. #8

jasper2xF opened this issue Jan 11, 2016 · 0 comments

Comments

@jasper2xF
Copy link

I'm getting an invalid access token error when trying to use the Instagram code for collecting images in fireslurp.rb.

Instagram request failed: GET https://api.instagram.com/v1/tags/morganfire01/media/recent.json?client_id=*****: 400: The access_token provided is invalid.

Indeed the code does not use an access_token, but only a client id. Does that still work for somebody else?

This might also be an issue of scope permissions. The tag_recent_media method seems to require "Scope: public_domain", get recent media decription.

App authentication created after Nov 17, 2015 is sand-boxed and needs to be reviewed before public_domain scope can be requested. Apps from before that will likely need review as well after June 2016:

Instagram Platform and documentation update. Apps created on or after Nov 17, 2015 will start in >Sandbox Mode and function on newly updated API rate-limits and behaviors. Prior to going Live, and >being able to be used by people other than the developers of the app, these apps will have to go >through a new review process. Please read the API documentation or the Change Log for more >details.

Any app created before Nov 17, 2015 will continue to function until June 2016. After June 2016, the >app will automatically be moved to Sandbox Mode if it wasn't approved through the review process. >The previous version of our documentation is stil available here.
source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant