Use the twitter API v2 to operate on a user's account.
- Sign up for a Twitter Developer account at https://developer.twitter.com/.
- Apply for a new Twitter Developer App. Fill in the required information and submit the application. Once approved, you will receive access to the App Dashboard.
- Generate your API Key, API Secret Key, and Bearer Token.
- Add an environment variable to
~/.bashrc
or equivalent with
export BEARER_TOKEN="<Bearer Token String>"
Ask google how
git clone https://github.com/gregbostrom/twittertools.git
sudo npm install needle