Role: Concept, Programming
Tools: Node.js, Twitter API, Heroku
Timeframe: 2 weeks
Twitter users often insert the clap emoji between words to 👏emphasize👏what👏they're👏saying👏. @lol_yelling is a bot that finds and retweets those tweets.
BuzzFeed News does a good job of covering why I made it, and why it could never last. Here's how I made it.
Twitter doesn't support search for emojis. To build this, I used the Emoji Data node package and a regular expression on top of the Twit node.js package and Twitter Stream API.
The Emoji Data node.js package searches Twitter in real-time for tweets containing 👏. This feed is run through a regular expression to keep only tweets that contain "👏 (text)👏 (text)👏":
Neil Cline helped me organize the qualifying tweets in a database which the program checks against before retweeting. The whole thing runs on Heroku.
While bots commonly require supervision, it seems that this bot, which by nature retweets strong convictions, requires much more supervision than I'm able to provide. Over 400 clean-enough tweets remain @lol_yelling.