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

[BUG] in sample: instagram-auth #869

Open
TheRhicrosoradile1 opened this issue May 18, 2021 · 1 comment
Open

[BUG] in sample: instagram-auth #869

TheRhicrosoradile1 opened this issue May 18, 2021 · 1 comment

Comments

@TheRhicrosoradile1
Copy link

Which sample has a bug?

The Instagram-auth sample has a bug due to the fact that the instagram api no longer supports the "OAUTH_SCOPES = 'basic' " It is changed to allow using " user_profile " or " user_media "

Sample name or URL where you found the bug

How to reproduce the issue

Running the function will give error as
Failing Function code used (if you modified the sample)
Exact same as mentioned in the tutorial
Steps to set up and reproduce
Just follow the instruction mentioned in the readme.md file

Debug output

{"error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: []"}

Errors in the
console logs

Screenshots

Expected behavior

Expected is that the authocization screen will popup and confirm user to login but instead the developer will recieve the error message as "invalid scope[]"

Actual behavior

{"error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: []"}

@skbhati199
Copy link

const OAUTH_SCOPES = 'user_profile';

@TheRhicrosoradile1 use this scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants