Simple command-line tool to obtain Twitter API Oauth keys using PIN-based authorization.
You will need your app's consumer API keys - you can get those at https://developer.twitter.com/en/apps.
git clone https://github.com/jonasjancarik/twitter-oauth-pin-node.git
cd twitter-oauth-pin-node.git
npm install
Run node twitter-oauth
and follow the prompts.