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

Getting Invalid User Id #105

Open tragicmj opened 2 years ago

tragicmj commented 2 years ago
   <InstagramLogin
              ref={ref => (this.instagramLogin = ref)}
              appId='**********'
              appSecret='*********'
              redirectUrl='https://google.com'
              scopes={['user_profile', 'user_media']}
              onLoginSuccess={this.setIgToken}
              onLoginFailure={(data) => console.log(data)}
/>

The piece of code is working fine, I am getting the access token and user id but the user id doesn't matches with the user id which we are getting from the web side. And thus we are unable to get any user details from app