Make a Retweet Bot in R

Y’know. If you wanna.

Mike Mahoney


June 20, 2020

A while back, I made a tweetbot that retweets a set of ecology-related hashtags, in order to signal boost ecology content in a similar manner to statsbot or Plotter Bot. The code to do this is pretty simple – made almost trivial by the rtweet package – but I found that environmental hashtags have a pretty low signal-to-noise ratio, driven down by various political and industry groups, as well as trolls.

I didn’t want to get into the business of content filtering, so instead I started looking for other markers that a tweet was – or wasn’t – worth promoting, and have gotten to what I believe is a respectable place with my filtration. So I’ve open-sourced the code (without the specific values I use to filter) for anyone else who might be interested in setting up their own automated retweet app.