2. Giving a @twitterapi talk at
@timesopen’s “TimesOpen 2.0: The
Real-Time Web” event.
2 Nov via Twitter for iPhone
from The NewYork Times Building
620 Eight Avenue
NewYork, NewYork
View Tweets at this place
31. What we want
Deliver an immediate user experience
Provide full fidelity data
Create easy integrations
Be efficient
32. REST API
XML/JSON API over HTTP
Poll-based system / pseudo real-time
hosebird
Streaming API
Long poll HTTP
Near real-time delivery of Tweets
33. Connecting to the stream
curl -u UUU:PPP http://stream.twitter.com/1/
statuses/filter.json?track=ivoted
Hold the socket open
Get JSON objects, one per line
Get them in real-time