Member-only story

THE ULTIMATE PYTHON DIY GUIDE — BUILDING A TWITTER BOT

Twitter — Or where my bot talks to your bot

Read about how I built a Twitter bot with Python to run a questionable experiment. Includes all code and detailed explanations.

Fabian Bosler
Towards Data Science
9 min readOct 12, 2019

--

Image by Jonny Lindner from Pixabay

Summary

In this story, I will explain in detail how I built a Twitter bot that plays on some basic human emotions to generate followers. This happens every day to all of us. I think it is vital to illustrate how easy it is. I will share some funny experiences and show evidence of the bot infestation on Twitter.

The latter part of the article describes in great depth the code and the functionalities of the bot. The current production code is available on Github. I run the bot on AWS and deployed it via the Serverless framework. It is not even using 5% of the monthly AWS free tier. So give it a try.

I wouldn’t be surprised if this article is going to get my Twitter account banned. But hey, Yolo!

Motivation

Photo by Patrick Fore on Unsplash

--

--

Towards Data Science
Towards Data Science

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

Fabian Bosler
Fabian Bosler

Written by Fabian Bosler

EX-Consultant turned tech geek! Business intelligence, marketing, advanced analytics, and machine learning. 👉 https://medium.com/@fabianbosler/membership 👈

No responses yet