Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carsh when manager.authorize('twitter') on Android, ios working. can't show error #230

Open
hapo-hoangnh opened this issue Oct 12, 2018 · 3 comments

Comments

@hapo-hoangnh
Copy link

hapo-hoangnh commented Oct 12, 2018

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",

@hapo-hoangnh
Copy link
Author

i fixed. add http://localhost/twitter to Callback URLs in Twitter Apps

@carere
Copy link

carere commented Oct 14, 2018

This issue should be closed :) @hapo-hoangnh

@hapo-tungpd
Copy link

Doesn't resolve, need to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants