Twitter Bot https://t.co/ZzE6pCRSA0 https://t.co/1176CEpFqJ pic.twitter.com/a4vCMczTHa
— XKCD Comic (@xkcdComic) February 22, 2016
Tutorials¶
General¶
- How to Make a Twitter Bot: The Definitive Guide (by Stefan)
- Creative bots and accessibility (by Stefan)
- Twitter and Procedural Generation (by botwiki)
node.js¶
- Botwiki on Glitch (by Stefan)
- Twitter Bot Tutorial – Node.js and Processing (by botwiki)
- tracery-twitter-bot (by byronhulcher)
- Make a Twitter bot that tweets random images (by Stefan)
- Smarter & Cuter Bots (by botwiki)
See also: Twitter bot project templates on Glitch
Python¶
- What is a Twitter bot? (by botwiki)
- How to create a Twitter bot (by botwiki)
- Build A Bot Workshop (by botwiki)
- Making a bot that tweets a random image (by Stefan)
- Build and Deploy Twitter Bots with Python, Tweepy and PythonAnywhere (by botwiki)
- How To Create a Twitterbot with Python 3 and the Tweepy Library (by botwiki)
- Using Twitter bots for data visualization (by Stefan)
- Tutorial Creating a Twitter bot with Python, OAuth 2.0, and v2 of the Twitter API (by botwiki)
- Noun Verb Bot (by botwiki)
- Kickstart your Twitter bot with our Glitch example written in Python (by botwiki)
- Five Steps To Build Your Own Random Non-Sequitur Twitter Bot (by botwiki)
- How to Code a Simple Twitter Bot for Complete Beginners (by botwiki)
- Coding a simple Twitter bot (by botwiki)
- Devs in the Details: How to Create a Twitter Bot (by botwiki)
- How to Build a Twitter Text-Generating AI Bot With GPT-2 (by botwiki)
Never ceases to amaze, stun me that a significant number of the “people” on Twitter are programs.
— Josh Marshall (@joshtpm) March 10, 2017
Ruby¶
Tracery/Cheap Bots Done Quick¶
Check out the dedicated Tracery page.
SSBot (Google Spreadsheets)¶
Tutorials that use Zach Whalen‘s Google Spreadsheets-to-Twitterbot tool.
- Tiny Flashing Thumbs (by botwiki)
- Hook, bait and camouflage (by botwiki)
- How to make a Twitter Bot with Google Spreadsheets (by botwiki)
Raspberry Pi¶
- Raspberry Pi Twitterbot (by botwiki)
- How to build a nonsensical Twitterbot on the Raspberry Pi (by botwiki)
- Python + BeautifulSoup + Twitter + Raspberry Pi (by botwiki)
Other languages¶
- Build Your Own Topic Bot (by botwiki)
- How to Write a Twitter Bot in 5 Minutes (by botwiki)
- Tutorial on Python Twitter Bots (by botwiki)
- How to Build a Law Bot (by botwiki)
- Tutorial on Creative Twitterbots (by botwiki)
- How I Built a Twitter Bot Using Auth0 Webtasks and Data.gov (by thzinc)
- Create a simple, free, text-driven Twitterbot with AWS Lambda & Node.js (by botwiki)
- Polyglot Twitter Bot (by botwiki)
- Twitterβs missing manual (by botwiki)
- Alt text support for Twitter Cards and the REST API (by botwiki)
- API support for 140 second video (by botwiki)
- Tweet Metadata Timeline (by botwiki)
- Emoji on Twitter (by botwiki)
See also @twitterapi for updates on the Twitter API and the Twitter Developer Platform Roadmap Trello board.
Twitter delays shutdown of legacy APIs as it launches a replacement https://t.co/OGEWfHT4E8 via @techcrunch
— A friendly encyclopedia of 🤖💻💾 (@botwikidotorg) May 17, 2018
Migration Guide: Moving from User Streams/Site Streams to Account Activity API: https://t.co/pgQ4U1EVaE
— A friendly encyclopedia of 🤖💻💾 (@botwikidotorg) May 17, 2018
Some #TwitterAPI Trivia
Twitter launched in 2006, and just a few months later, the Twitter API was released. 🎉
The first s̶e̶t̶ ̶o̶f̶ ̶d̶o̶c̶s̶ doc for v1 looked like this 👇 pic.twitter.com/VpvIma5wRk
— Twitter Dev (@TwitterDev) July 15, 2020
Frameworks and libraries¶
Twitter API¶
node.js¶
Python¶
Ruby¶
- chatterbot (by botwiki)
- twitter_ebooks (by botwiki)
- rubybottools (by botwiki)
Java¶
- markov (by botwiki)
- lambda-twitter-base (by botwiki)
Other languages¶
- anaconda (by botwiki)
- twitterBot (by botwiki)
- Literal Twitter Bot Kit (by botwiki)
For more frameworks and libraries built for the Twitter platform, check out Twitter Libraries at developer.twitter.com.
Working with language¶
- markov-twitter-bot (by botwiki)
- twitter-text (by botwiki)
Python¶
- word-tools (by botwiki)
- twitter_markov (by botwiki)
Working with images¶
Python¶
- randimgbot (by botwiki)
- spatchwork (by botwiki)
- binary-numbers (by botwiki)
Tools¶
See also: A list of Twitter-bot hosting platforms.
Python¶
Other¶
Latest from the blog
Twitter shutting down free access to their API on February 9
I keep saying it's an end of an era quite often these days.
How do folks get into creative botmaking?
Sharing the stories of our early botmaking days.
What kind of bots are posting in the fediverse?
Exploring the bots people make and follow in the fediverse.
Botwiki Interview: Nora Reed
Discussing Twitter, bots, and reasons to stay hopeful.