- REST API - search (search.js)
- Streaming API - 1% sample (sample.js)
- Streaming API - filter (filter.js)
- Streaming API - user stream (userstream.js)
- https://dev.twitter.com/rest/public/search
- https://dev.twitter.com/rest/reference/get/search/tweets
- https://dev.twitter.com/streaming/reference/get/statuses/sample
- https://dev.twitter.com/streaming/reference/post/statuses/filter
- https://dev.twitter.com/streaming/userstreams
- Copy the config.sample.js to a file named config.js in the same directory
- Create an app at t.co/apps to get consumer keys and generate access keys.
- Add these keys to your newly created config.js file.
Note: For your safety, the config.js file will NOT be added to your repository. This is handled by the .gitignore file and the purpose is to not publically expose your applications keys.
npm install twit
node filter.js
node sample.js
node search.js
node userstream.js
By @jbulava