Inspiration

Inspired by the 2016 election and by president-elect Trump.

What it does

TrumpetyTrump.com was created in good-humor to test how well you think you know our president-elect and gives you the opportunity to try to trick others too.

How I built it

Using the Twitter API, we are able to scrape all of president-elect Trump's tweets (@realDonaldTrump) and insert the information into a NoSQL database. We are also able to use those same tweets to generate ridiculous quotes and sayings that are close to what Trump could have said or tweeted. Finally, we are able to connect everything with node.js and express.js with MongoDB and provide a front-end that gives the user, two options regarding which quote is a real quote from Donald Trump.

Challenges I ran into

Using the Twitter API to scrape all of the @realDonaldTrump's tweets was a tiny problem to handle. Configuration issues with the MEAN stack were huge.

Accomplishments that I'm proud of

Able to scrape all of @realDonaldTrump tweets via the Twitter API, and able to generate fake quotes from his tweets. Also, hugely proud that we are able to replicate the method of Twitter scraping and fake quote generating with other Twitter accounts.

What I learned

How to use the Twitter API, how to generate quotes using tweets, and how to setup a MEAN stack.

What's next for TrumpetyTrump

TrumpetyTrump is only the beginning. With TrumpetyTrump as a template, we are actually able to switch to other celebrities and individuals twitter accounts and scrape for all of their tweets. Using the same method for TrumpetyTrump, we can generate fake quotes for them, and revamp the site for those twitter accounts.

Share this project:

Updates