This project opens the Twitter API stream and saves each tweet into a mongo database as the data comes in. N.B. this is not ALL tweets, but a sample, as per the Twitter API.
The data in the database dump began collection on May 1 at 1:43pm, and ended May 4 at 10am. It contains >26k records containing the #talkpay hashtag.
This project is forked from and based on tweet-collector.
This app was deployed to Digital Ocean using Dokku, a Docker-powered Heroku-like interface. To run locally:
npm install
dependencies- Update env.js.sample to contain your API information and remove the .sample ending
- Ensure MongoDB is running on your computer
- Run
node getTweets.js
to run the program