This tiny script automated that for me:
I'm sorry dear followers, but every time @twitter makes me re-select "latest tweet" I'm gonna tweet that over and over again (and I do encourage you to do the same; I promise my support in the form of RTs): https://t.co/yIpedfHvIc
โ Eduardo Cuducos, November 20, 2019
- Create an app and get your API keys from Twitter's Developer platform
- Create environment variables as described in
.env.sample
- The
TWEET
variable is the text you want to tweet when this script runs - Optionally, if you want this tweet to be a reply for a given tweet, add the status ID number of that given tweet into
REPLY_TO
(otherwise just ignore it)
- The
- Download the executablel for Linux, macOS or Windows and run it!
For example, these last two settings look like that in my case:
TWEET=Fuck off @twitter, let me have "latest tweets" as a default.
REPLY_TO=1197153914916888579
Requires Rust with cargo
:
$ cargo run
https://twitter.com/cuducos/status/1194269206419775488
This will be the URL for your fresh new tweet!