react-native-instagram-login
react-native-instagram-login copied to clipboard
Invalid Response Type token
I am getting the below error when responseType is set to 'token'
<InstagramLogin
ref={ref => (this.instagramLogin = ref)}
appId='*************'
appSecret='*****************'
responseType={'token'}
redirectUrl='https://www.google.com'
scopes={['user_profile', 'user_media']}
onLoginSuccess={this.setIgToken}
onLoginFailure={(data) => console.log(data)}
cacheEnabled={false}
incognito={true}
thirdPartyCookiesEnabled={false}
sharedCookiesEnabled={false}
domStorageEnabled={false}
/>

remove response type
I actually needed token that's why I added it. For now, I am handling it using webview without library. Would be much better if someone checks on this.