- Read and Install xurl: https://github.com/xdevplatform/xurl
- Rate Limits: https://docs.x.com/x-api/fundamentals/rate-limits
- Authentication: You must have a developer account and an app to use the xurl tool.
alias tw=<...path choice/tw>
In the developer account, you need to obtain the values for BEARER TOKEN, CLIENT_ID, and CLIENT_SECRET.
These values will first be used in the script, then authenticate yourself.
tw -auth
tw "New post!"
...With media
tw "New post!" image.jpg
tw "New post!" https://anyurl-image.up/image.jpg
You need to obtain the ID
tw -rep <tweet_id> "reply"
You need to obtain the ID
tw -del <tweet_id>