This is one of the first fun python projects I made that wasn't part of a class! The original goal was actually based on an instagram comment I saw on a funny picture. The user said "I like to think theres a group fo twitter bots who are bunnies liking posts with words like lettuce and carrot in them" - and the idea was born.
Sadly it didn't turn out how I wanted, as Twitter's API costs ___hundreds__ of dollars just to view and interact with a limited number of timeline tweets. Anyways, it was a learning experience and helped introduce me to API's. Additionally being a fun project during the summer for a couple days.
Note: I haven't tested this in years, the api and dependencies I used for this have most likely changed since then
V1: Posts tweets as if they were from a rabbit every two hours
V2: Searches newly posted tweets for words such as 'Carrot' and likes/responds to those as if a Rabbit were. (Untested, API too expensive)
If you want to use this (for some reason):
- Install tweepy
- Make a new project/bot/api thing in the twitter developer platform
- Make sure the bot has read/write access in the developer platform console
- Just add your twitter API credentials in config.py
- And if you'd like, customize the tweets in tweets.txt to whatever you want
Why's there two versions?
- V2 is the project I originally planned on doing but was unable to test it due to the API endpoint needed costing $200/month. (More expensive now)
- V1 is a "next best thing" project that would actually work with the free API.