Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNot possible to use new Instagram API #6728
Open
Labels
Comments
|
Thanks for reporting this. Do you thin you could tackle this and open a PR? |
|
hye is this issue still open .? |
|
@ruhci28 yep, it hasn't been addressed yet. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Issue Description
Since the old Instagram API will stop working on June 29 (See https://www.instagram.com/developer/), the url in
parse-server/src/Adapters/Auth/instagram.js
Line 9 in d0a9c70
The new default URL should be something like this:
https://graph.instagram.com/me?fields=id&access_token=ACCESS_TOKEN
Steps to reproduce
https://www.instagram.com/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&scope=user_profile,user_media&response_type=codecurl --location --request GET 'https://api.instagram.com/v1/users/self?access_token=SHORT_LIVED_ACCESS_TOKEN'Expected Results
User is being verified successfully and user can be registered via Instagram.
Actual Outcome
ParseServer receives following:
{ "meta": { "code": 400, "error_type": "OAuthAccessTokenException", "error_message": "The access_token provided is invalid." } }and returns
{ "code": 101, "error": "Instagram auth is invalid for this user." }to developer.
Environment Setup
Server
Database
Logs/Trace
No logs