Tweeting From The Terminal #
I’m still working on open sourcing the code but it works something like this:
- Set up an app at developer.twitter.com
- Use those credentials to do local authentication
- I use nodejs to run an express server so auth can happen in a browser
- Get the tokena and save it locally, it’s long lived so it can just be reused until revoked by the user
- Post using token