PROJECT Twitter bot
ROLE Concept & Development
TOOLS Node.js, Twitter API, Heroku
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 explains why I made it, and why it could never last.
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)👏"
Here’s the regular expression:
Neil Cline helped me organize the qualifying tweets into a database, which the program checks against to avoid double-retweets. The whole thing runs on Heroku.