Make a Retweet Bot in R

R Twitter ecology_tweets

Y’know. If you wanna.

Mike Mahoney
2020-06-20

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.


Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Citation

For attribution, please cite this work as

Mahoney (2020, June 20). Mike Mahoney: Make a Retweet Bot in R. Retrieved from https://www.mm218.dev/posts/2020/06/

BibTeX citation

@misc{mahoney2020make,
  author = {Mahoney, Mike},
  title = {Mike Mahoney: Make a Retweet Bot in R},
  url = {https://www.mm218.dev/posts/2020/06/},
  year = {2020}
}