An server-client example of using Twitter Stream API and WebSocket.
JavaScript Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
client.html
jquery.min.js
server.rb

README

h1. About

An server-client example of using Twitter Stream API and WebSocket.


h1. Requirement

* Safari 4.x
* Chrome


h1. How to use

0) pico server.rb
   change USERNAME, PASSWORD to your twitter account
1) ruby server.rb
3) open client.html through Safari 4.x or Chrome, you should see tweets flow into your browser.
4) if you like, you could change the keyword from 'iphone' to others.
filter_url = 'http://stream.twitter.com/1/statuses/filter.json?track=iphone'