Piroro-hs / react-native-twitter

A Twitter API client library for React Native. Currently not maintained as my main motivation of creating this library was to use the User Streams API.
MIT License
39 stars 20 forks source link

auth(tokens, callbackUrl[, options]) clarification and opening twitter for login #12

Closed bailey1995 closed 6 years ago

bailey1995 commented 6 years ago

Can someone include an example of how to call auth with and without options.

***FIXED: The issue below was due to misspelling the consumerKey and consumerSecret fields.

I also have a problem where when I call auth, twitter doesn't open in safari and I just get a console log of:

Error: 32 Could not authenticate you. at request.js:58 at tryCallOne (core.js:37) at core.js:123 at JSTimers.js:118 at Object.callTimer (JSTimersExecution.js:96) at Object.callImmediatesPass (JSTimersExecution.js:203) at Object.callImmediates (JSTimersExecution.js:219) at MessageQueue.callImmediates (MessageQueue.js:238) at MessageQueue.js:126 at MessageQueue.guard (MessageQueue.js:228)