react-native-oauth
react-native-oauth copied to clipboard
carsh when manager.authorize('twitter') on Android, ios working. can't show error
my code
const manager = new OAuthManager('jp.topical');
const config = {
twitter: {
consumer_key: TWITTER_COMSUMER_KEY,
consumer_secret: TWITTER_CONSUMER_SECRET
},
};
manager.configure(config);
manager.authorize('twitter',{scopes: 'profile,email'})
.then(loginData => {
...
}).catch(err => {
console.log(err);
});
debugger not show anything. "react-native": "0.53.3", "react": "16.2.0", "react-native-oauth": "^2.1.18",
i fixed. add http://localhost/twitter to Callback URLs in Twitter Apps
This issue should be closed :) @hapo-hoangnh
Doesn't resolve, need to help!