Skip to content

Commit

Permalink
Bump the version number to 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pnavarrc committed Jun 8, 2014
1 parent 20148c0 commit 8110524
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ The dependencies on this project can be installed from the command line by typin

$ npm install

## Running the Streaming Server

Update the `chirp.js` file to use your credentials (be sure to keep the credentials secret) and run the streaming server:

$ node chirp.js

The server will connect to the `statuses/filter` endpoint and begin listening the port 9720 for socket.io connections.

## Examples

To run the examples, execute the corresponding script in the terminal:
There are examples of using the Twitter Streaming API and the Socket.IO library. To run the examples, execute the corresponding script in the terminal:

$ node 01-twitter-sample.js

The third example requires to open the `socketio-example.html` with the browser.

- [1. Twitter Sample](01-twitter-sample.js)
- [2. Twitter Filtering](02-twitter-filter.js)
- 3. Socket.IO Example
- [Server](03-socketio-example.js)
- [Client](socketio-example.html)
- [1. Twitter Sample.](01-twitter-sample.js)
- [2. Twitter Filtering.](02-twitter-filter.js)
- 3. Socket.IO Example [server](03-socketio-example.js) and [client.](socketio-example.html)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chirp-server",
"version": "0.2.0",
"version": "0.2.1",
"description": "Twitter Streaming Server",
"main": "README.md",
"repository": {
Expand Down

0 comments on commit 8110524

Please sign in to comment.