Open Neuroforge opened 6 years ago
Hi @Neuroforge
What is it you are trying to do with twit
library? If it is just authenticating the user, then this is not the right library. You have to look for a library that allows third-party authentications by Twitter, Facebook, Google, etc.
twit
is only for dealing with Twitter rest APIs.
Can you recommend an auth library for javascript?
I looked at react-twitter-auth but it has issues.
I had successfully used Passport.js for Twitter auth with callback. Not sure about the new versions and with new Twitter policies.
Hello,
If a user is not logged into twitter.
How can i, given their username and password, log them in and then continue to use Twit?
From the documentation, it appears
https://developer.twitter.com/en/docs/basics/authentication/overview/oauth
Regards,
Daniel