Dogecoin Twitter bot

To make a hopefully-useful Twitter bot, I learned to tweet from a program! Here’s what I did:

  1. Sign up for a Twitter dev account (expect lotsa writing)
  2. Wait until accepted
  3. Have a Twitter API library (like twitter-api for Clojure) for your language imported into your project
  4. Log out of the current account and log into what you want the app to control
  5. DL and install Ruby
  6. Run gem install [twurl](https://github.com/twitter/twurl) on the CLI
  7. From your OS’s native CLI (this didn’t work for Bash for Windows, only on Powershell) run twurl authorize --consumer_key=[key] --consumer_secret=[secret]. There are literally six different terms describing what a consumer key is here. It’s your API key for your project.
  8. Go to your home folder and open the .twurlrc file.
  9. Pull the user access token and secret (I forget what Twurl calls it)
  10. Paste it wherever your program’s API asks for it
  11. Use your library’s functions to send requests to the API