jamessergeant / streaming-demos-node

Basic demos using Twitter streaming APIs with sample/filter streams. Built with node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Resources

About

Basic demos using Twitter streaming APIs with sample/filter streams. Built with node.js.

License:MIT License


Languages

Language:JavaScript 58.2%Language:HTML 41.8%