/twitter-oauth-by-example-in-nodejs

Example of how to use callback for authorizing user and getting access token of user

Primary LanguageJavaScript

twitter-oauth-by-example-in-nodejs

Create an app on developer.twitter.com and get the following key and tokens:

  • TWITTER_ACCESS_TOKEN
  • TWITTER_ACCESS_TOKEN_SECRET
  • TWITTER_CONSUMER_KEY
  • TWITTER_CONSUMER_SECRET

and run in your cloned local repository (to clone the repo: git clone git@github.com:christian-fei/twitter-oauth-by-example-in-nodejs.git):


add variables to `.env` at root

check out the source code