auth_token Node.js > Instagram

Asked

Viewed 74 times

1

To make a script work I need the auth_token of an instagram app, and that according to instructions I should(and am) doing so:

https://instagram.com/oauth/authorize/?client_id=1627c123e3fc481791e0d6be16ff57a0&redirect_uri=http://yourcallback.com/auth/instagram/callback&response_type=token&display=touch&scope=likes+relationships

But I still get the bugs:

Instagram {
"code": 400, "error_type": "Oauthexception", "error_message":
"Redirect URI does not match Registered redirect URI"
}

Does anyone know the problem?

1 answer

1

For the tests I’ve done with the API, you need to have a url to put in redirect_uri. The url you are using should not be accepted by the API.

When you registered your application you must have entered a url, this same URL must be used.

The error that the API returned to you says exactly that.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.