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

Instragram redirect URL issue error_message "Invalid scope: []" #387

Open
tapasTeks opened this issue Mar 24, 2022 · 0 comments
Open

Instragram redirect URL issue error_message "Invalid scope: []" #387

tapasTeks opened this issue Mar 24, 2022 · 0 comments

Comments

@tapasTeks
Copy link

I am assuming that the problem with '#' in redirect url so

encode does encode hash so I have used encodeURIComponent("#")

now '#' become '%23' and url looking like this

[https://www.instagram.com/oauth/authorize?client_id=](https://www.instagram.com/oauth/authorize?client_id=%5C)<CLIENT_ID>&redirect_uri=https://dev.eventify.io/%23/dashboard/content/social&scope=user_profile,user_media&response_type=code&state=0&eventid=XXX1141927827XXX

BUT I AM GETTING THIS-->

error_type "OAuthException"

code 400

error_message "Invalid scope: []"

I am trying to get token from redirect URL and fetch media of logged user

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