Server for getting a fresh access and refresh token for you twitter bots. Once you have the intial token, the twitter api sdk has an option to auto refresh.
Add clientId
and clientSecret
to the application.properties
and run as a service.
Get new tokens whenever you need.
This project requires the tweet-delete project to build.
Build with mvn install
You can run the release jar with your own settings without building.
java -jar tweet-oauth.jar --server.port=<port> --clientId=<id> --clientSecret=<secret>