Library for using the twitter api directly on an esp8266 using the Arduino IDE
GPL-2.0 License
https://github.com/witnessmenow/TweESP32
A wrapper for the Twitter API for Arduino (works on ESP8266)
In the api FAQ twitter mentions that they do not expire bearer tokens, so once you do not generate a new one with the same Credentials it should continue working
I am hoping to make this a little more simple going forward, as we should be able to do this on the board directly, but here they are for now :)
curl -u "CONSUMER_KEY:CONSUMER_SECRET" --data 'grant_type=client_credentials' 'https://api.twitter.com/oauth2/token'