Coding a simple Twitter bot

The bot in ominous mode
  • Interacting with APIs
  • Configuring Twitter apps
  • Writing modular code
  • Using version control (for which I chose git)
  • Working in a virtual environment

Step 1: Gather input text

Step 2: Generate output text

Twitter says it will ban diesel vehicles by 2025.

AI learns to predict the future of government?

Step 3: Send output to Twitter

Limitations

  1. The code itself could be better. My functions are too large and do too much.
  2. There are no tests!
  3. Lots of the output is still garbage. The ratio of good quality output needs to be increased.
  4. The bot still lives on the command line of my home computer. It’s only active when I start it up manually.

Everywhere else I write about beer, cider and spirits. This is where I put other stuff, mostly about coding.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Recording Remote Temperatures With AndroidThings, Arduino And Firebase

How to get started with BPM Platform

Implement Frosted Glass Aesthetic (Glassmorphism)

Git: remove branches except main

A duplicate P1’s story.

FinTech Forex API developers startups

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Anthony Gladman

Anthony Gladman

Everywhere else I write about beer, cider and spirits. This is where I put other stuff, mostly about coding.

More from Medium

Making It As A Udemy Instructor : My 5-figure Income Recipe (Part 2)

Python | How to scrap websites with BeautifulSoup

Getting to know PyScript