The simplest way to obtain Twitter API access token & secret.
- Set your app's callback URL to
http://localhost:8080/callback
at Twitter Developers. - Grab your app's consumer key and secret.
- Open the shell and run:
echo "TWITTER_CALLBACK_URL=http://localhost:8080/callback" >> twauth.env echo "TWITTER_CONSUMER_KEY=xxx" >> twauth.env echo "TWITTER_CONSUMER_SECRET=xxx" >> twauth.env docker run -it --rm --env-file=twauth.env --publish=8080:8080 ciffelia/twauth
- Open your browser and access http://localhost:8080/.
Available at Docker Hub