A simple retweet bot using a collocated Raspberry PI

Submit to reddit

I have a Raspberry PI freely collocated by the nice people at pcextreme. Being a Jolla fan I found a new use for it. I made a Retweet bot that retweets everything #Jolla.

  1. It’s pretty simple. First you need to define your new twitter app here.
  2. Install on your raspberry the tweepy twitter python library. Warning usually it would be as easy as pip install tweepy but the current version has a bug which means you have to install a patched version of tweepy found here:
    1
    2
    3
    git clone https://github.com/knowsis/tweepy.git
    cd tweepy
    python setup.py install
  3. Download and configure retweet-bot to your liking.

Once done I added a cronjob that runs retweet.py every 10 minutes and outputs to a log file. You can see (and follow) the endresult here: http://twitter.com/rtjolla