Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 1.25 KB

File metadata and controls

17 lines (11 loc) · 1.25 KB

The First World Problems Subreddit Bot

I really enjoy r/firstworldproblems on Reddit, so I thought it'd be fun to make a bot that shares some of the joy on Twitter. I'm sure it's not a particularly original idea, but if you'd like to see what people on Reddit view as first world problems, feel free to subscribe or contribute.

What does it Do?

  • It runs at 18:00 and 2:00 UTC.
  • It checks the top post on r/firstworldproblems and posts it as a tweet unless:
    • It has already posted that post before
    • The post is over the 240 character limit for Twitter
  • If either condition above is met, it will move on to the next post and so on.

Details:

This is a Node application and is hosted on Heroku and uses their scheduler add-on to run. It gets data from Reddit using Reddit's thoughtful .json feature and posts to Twitter using the Standard Twitter API.

I have no control over what the bot says, so please just roll with it.