hungdev / react-native-instagram-login

a react native instagram login component (support android & ios). Pull requests are welcome!
https://www.npmjs.com/package/react-native-instagram-login
184 stars 103 forks source link

Invalid Scope error when login ? #73

Closed kiritm-nimblechapps closed 4 years ago

kiritm-nimblechapps commented 4 years ago

HI,

I have do the below code for instagram login, but there is invalid scope : [] issue, Can you help me what's reason ?

<InstagramLogin
        ref={ref => (this.instagramLogin = ref)}
        appId='816051862258833'
        appSecret='fb45c046f8903c06fe38648f805ce3333333'
        redirectUrl='https://apple.com/services'
        scopes={['user_profile', 'user_media']}
        onLoginSuccess={(data) => console.log("****** Success", data)}
        onLoginFailure={(data) => console.log("******FAIL", data)}
      />

Screenshot 2020-06-23 at 11 16 13 AM

Please help me.

hungdev commented 4 years ago

try adding scope in https://developers.facebook.com/ like this: image

hungdev commented 4 years ago

if you still get the error, feel free to open.

alapanerao commented 3 years ago

I am getting this same error when i try login with Facebook.