This document discusses collecting photos from Twitter streams in real-time using Node.js on Heroku. It describes tracking hashtags and photo URLs to filter tweets containing images, and extracting the photo URLs. The architecture involves using the Twitter Streaming API and socket.io for real-time streaming to browsers, with fallbacks for Heroku which does not yet support WebSockets. The goal is to present the photo stream to users in real-time.
2. Who am I ?
• CEO at Mashmatrix, Inc.
• JavaScript Developer
• Formerly (almost forgot)
• Identity (OpenID/SAML/SSO) @stomita
• JavaEE
• Oracle
• Ex-Salesforce.com (2006/12-2007/12)
3. Objective
• Collect and store photos tweeted in the
world
• Add metadata to photos manually by crowd
• Category ? (food/people/landscape)
• Venue ? (foursquare)
10. socket.io
• A Node.js library, enabling push messaging
to browsers
• Stream Transport Supported :
• WebSocket/FlashSocket/XHR-Multipart/
XHR-polling/JSONP-polling
• Used as fallback of SocketStream