Hello,
I appreciate the time you put into this module. It looks like it will be a big help on my project, but I'm confused about the use of the above method.
according to your "readme" file it returns this "
Returns: Promise of {accessToken, accessTokenSecret, id, name}
accessToken Access token
accessTokenSecret Access token secret
id User id
name Screen name
When I call "auth" in my app, it properly redirects to the twitter login page. When I authorize the app, it redirects back to the app, but the ".then" function never gets called.
My code is something like this:
let twitterAccessToken;
auth({tokens, redirectUrl}).then((accessToken)=> twitterAccessToken = accessToken);
Hello,
I appreciate the time you put into this module. It looks like it will be a big help on my project, but I'm confused about the use of the above method.
according to your "readme" file it returns this "
When I call "auth" in my app, it properly redirects to the twitter login page. When I authorize the app, it redirects back to the app, but the ".then" function never gets called.
My code is something like this:
let twitterAccessToken;
auth({tokens, redirectUrl}).then((accessToken)=> twitterAccessToken = accessToken);