react-native-instagram-login
react-native-instagram-login copied to clipboard
Getting Invalid User Id
<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