streaming-demos-node
streaming-demos-node copied to clipboard
Basic demos using Twitter streaming APIs with sample/filter streams. Built with node.js.
twitter-streaming-demos-node
Basic demos demonstrating Twitter streaming APIs.
Installing and Running
Install Node.js.
Clone GitHub repo:
git clone https://github.com/twitterdev/twitter-streaming-demos-node
Create a Twitter application.
Create a config.json file using config.sample.json as a template. Fill in your Twitter App API keys.
Install node module dependencies:
npm install
Run 1% sample demo:
node stream-sample.js
Run trending #hashtag demo:
node stream-hashtags.js
Run geo demo:
node stream-geo.js
Run client-side streaming demo:
Run index.html in a web server environment