• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Collecting Photo Stream in Node.js on Heroku
 

Collecting Photo Stream in Node.js on Heroku

on

  • 4,201 views

 

Statistics

Views

Total Views
4,201
Views on SlideShare
2,769
Embed Views
1,432

Actions

Likes
1
Downloads
8
Comments
0

5 Embeds 1,432

http://www.scoop.it 1414
http://a0.twimg.com 8
http://us-w1.rockmelt.com 6
http://plus.url.google.com 3
http://translate.googleusercontent.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Collecting Photo Stream in Node.js on Heroku Collecting Photo Stream in Node.js on Heroku Presentation Transcript

    • Collecting Photo Stream in Node.js on Heroku @stomita (ja) @shinichitomita (en)
    • 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)
    • Objective• Collect and store photos tweeted in the world• Add metadata to photos manually by crowd • Category ? (food/people/landscape) • Venue ? (foursquare)
    • Twitter Streaming APIhttps://dev.twitter.com/docs/streaming-api
    • Photo Stream• Set tracking keywords to filter tweets with photo uploading services URL • e.g. tracks=lockerz,plixi,tweetphoto,twitpic,yfrog, photozou,twitgoo,instagr• Extract photo URLs by pre-given rule • e.g. http://twitpic.com/7wiwlw => http://twitpic.com/show/thumb/7wiwlw
    • ArchitectureStreaming JSON
    • Twitter-Nodehttps://github.com/technoweenie/twitter-node
    • Visualization• Present photo stream to users in real-time• Not our primary goal, but just interesting• Don’t think, FEEL.
    • tweet-photo-stream http://tweet-photo-stream.herokuapp.com/https://github.com/stomita/tweet-photo-stream
    • 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
    • ArchitectureStreaming socket.io
    • Similar Work - Twitcaps http://twitcaps.com/
    • Twitcaps - Not Real-time Delayed Streaming Ajax Polling
    • Issue• Heroku Node.js doesn’t support WebSocket yet (as of Dec 2011) • Fallbacks to XHR-polling • c.f. Joyent No.de SmartMachine
    • End