The simplest way to obtain Twitter API access token & secret.
- Open your app at Twitter Developers.
- Add http://localhost:8080/callback to callback URLs.
- Create
twauth.envconfiguration file:TWITTER_CALLBACK_URL=http://localhost:8080/callback TWITTER_CONSUMER_KEY=xxx TWITTER_CONSUMER_SECRET=xxx
- Open your terminal and run:
docker run -it --rm --env-file=twauth.env --publish=8080:8080 ghcr.io/ciffelia/twauth
- Open your browser and access http://localhost:8080/.