HackMIT Lightning Talk

15
@twitter Saturday, October 5, 13

description

the 2 minute lighting presentation for the #HackMIT crowd!

Transcript of HackMIT Lightning Talk

Page 1: HackMIT Lightning Talk

@twitter

Saturday, October 5, 13

Page 2: HackMIT Lightning Talk

Global Conversation

http://www.flickr.com/photos/twitteroffice/8798022019/

Saturday, October 5, 13

Page 3: HackMIT Lightning Talk

Global Conversation

http://www.flickr.com/photos/twitteroffice/7420677428/

Saturday, October 5, 13

Page 4: HackMIT Lightning Talk

@TwitterEng | HackMIT

Core Objects

4

User

Timeline Social Graph

Tweet

Saturday, October 5, 13

Page 5: HackMIT Lightning Talk

@TwitterEng | HackMIT 5

{ "id": 777925, "id_str": "777925", "name": "Matt Harris", "screen_name": "themattharris", "location": "SFO\/LHR\/YVR\/JAX\/IAD", "description": "PECoS @twitter. Married to @cindyli. Kryptonite hurts me.", "url": "http:\/\/t.co\/ZDjyFfevMF", "entities": { "url": { "urls": [ { "url": "http:\/\/t.co\/ZDjyFfevMF", "expanded_url": "http:\/\/about.me\/themattharris", "display_url": "about.me\/themattharris", "indices": [ 0, 22 ] } ] }, "description": { "urls": [

] } }, "protected": false, "followers_count": 8586, "friends_count": 486, "listed_count": 314, "created_at": "Sat Feb 17 20:49:54 +0000 2007", "favourites_count": 338, "utc_offset": -25200, "time_zone": "Pacific Time (US & Canada)", "geo_enabled": true, "verified": false, "statuses_count": 4874, "lang": "en", "status": { "created_at": "Mon Sep 30 22:46:44 +0000 2013", "id": 384811580208082944, "id_str": "384811580208082944", "text": "the professor and i are deriving ... \/cc @jmhodges", "source": "web", "truncated": false, "in_reply_to_status_id": null, "in_reply_to_status_id_str": null, "in_reply_to_user_id": null, "in_reply_to_user_id_str": null, "in_reply_to_screen_name": null, "geo": null, "coordinates": null, "place": null, "contributors": null, "retweet_count": 0, "favorite_count": 1, "entities": { "hashtags": [

], "symbols": [

], "urls": [

], "user_mentions": [ { "screen_name": "jmhodges", "name": "Jeff Hodges", "id": 9267272, "id_str": "9267272", "indices": [ 41, 50 ] } ] }, "favorited": false, "retweeted": false, "lang": "en" }, "contributors_enabled": false, "is_translator": false, "profile_background_color": "C0DEED", "profile_background_image_url": "http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png", "profile_background_image_url_https": "https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png", "profile_background_tile": false, "profile_image_url": "http:\/\/a0.twimg.com\/profile_images\/554181350\/matt_normal.jpg", "profile_image_url_https": "https:\/\/si0.twimg.com\/profile_images\/554181350\/matt_normal.jpg", "profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/777925\/1351367661", "profile_link_color": "0084B4", "profile_sidebar_border_color": "C0DEED", "profile_sidebar_fill_color": "DDEEF6", "profile_text_color": "333333", "profile_use_background_image": true, "default_profile": true, "default_profile_image": false, "following": true, "follow_request_sent": false, "notifications": false}

{ "created_at": "Thu Sep 19 17:43:52 +0000 2013", "id": 380749093766561793, "id_str": "380749093766561793", "text": "iOS7: battery life not included", "source": "web", "truncated": false, "in_reply_to_status_id": null, "in_reply_to_status_id_str": null, "in_reply_to_user_id": null, "in_reply_to_user_id_str": null, "in_reply_to_screen_name": null, "user": { "id": 777925, "id_str": "777925", "name": "Matt Harris", "screen_name": "themattharris", "location": "SFO\/LHR\/YVR\/JAX\/IAD", "description": "PECoS @twitter. Married to @cindyli. Kryptonite hurts me.", "url": "http:\/\/t.co\/ZDjyFfevMF", "entities": { "url": { "urls": [ { "url": "http:\/\/t.co\/ZDjyFfevMF", "expanded_url": "http:\/\/about.me\/themattharris", "display_url": "about.me\/themattharris", "indices": [0, 22] } ] }, "description": { "urls": [ ] } }, "protected": false, "followers_count": 8586, "friends_count": 486, "listed_count": 314, "created_at": "Sat Feb 17 20:49:54 +0000 2007", "favourites_count": 338, "utc_offset": -25200, "time_zone": "Pacific Time (US & Canada)", "geo_enabled": true, "verified": false, "statuses_count": 4874, "lang": "en", "contributors_enabled": false, "is_translator": false, "profile_background_color": "C0DEED", "profile_background_image_url": "http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png", "profile_background_image_url_https": "https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png", "profile_background_tile": false, "profile_image_url": "http:\/\/a0.twimg.com\/profile_images\/554181350\/matt_normal.jpg", "profile_image_url_https": "https:\/\/si0.twimg.com\/profile_images\/554181350\/matt_normal.jpg", "profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/777925\/1351367661", "profile_link_color": "0084B4", "profile_sidebar_border_color": "C0DEED", "profile_sidebar_fill_color": "DDEEF6", "profile_text_color": "333333", "profile_use_background_image": true, "default_profile": true, "default_profile_image": false, "following": true, "follow_request_sent": false, "notifications": null }, "geo": null, "coordinates": null, "place": { "id": "5a110d312052166f", "url": "https:\/\/api.twitter.com\/1.1\/geo\/id\/5a110d312052166f.json", "place_type": "city", "name": "San Francisco", "full_name": "San Francisco, CA", "country_code": "US", "country": "United States", "bounding_box": { "type": "Polygon", "coordinates": [ [ [-122.51368188, 37.70813196], [-122.35845384, 37.70813196], [-122.35845384, 37.83245301], [-122.51368188, 37.83245301] ] ] }, "attributes": { } }, "contributors": null, "retweet_count": 1, "favorite_count": 4, "entities": { "hashtags": [ ], "symbols": [ ], "urls": [ ], "user_mentions": [ ] }, "favorited": false, "retweeted": false, "lang": "en"}

Saturday, October 5, 13

Page 6: HackMIT Lightning Talk

@TwitterEng | HackMIT 6

"user": { "id": 777925, "id_str": "777925", "name": "Matt Harris", "screen_name": "themattharris", "location": "SFO\/LHR\/YVR\/JAX\/IAD", "description": "PECoS @twitter. Married to @cindyli. Kryptonite hurts me.", "url": "http:\/\/t.co\/ZDjyFfevMF", "entities": { "url": { "urls": [ { "url": "http:\/\/t.co\/ZDjyFfevMF", "expanded_url": "http:\/\/about.me\/themattharris", "display_url": "about.me\/themattharris", "indices": [0, 22]

User

Saturday, October 5, 13

Page 7: HackMIT Lightning Talk

@TwitterEng | HackMIT 7

"place": { "id": "5a110d312052166f", "url": "https:\/\/api.twitter.com\/1.1\/geo\/id\/5a110d312052166f.json", "place_type": "city", "name": "San Francisco", "full_name": "San Francisco, CA", "country_code": "US", "country": "United States", "bounding_box": { "type": "Polygon", "coordinates": [ [ [-122.51368188, 37.70813196], [-122.35845384, 37.70813196], [-122.35845384, 37.83245301], [-122.51368188, 37.83245301] ] ] },

Geo

Saturday, October 5, 13

Page 8: HackMIT Lightning Talk

@TwitterEng | HackMIT 8

"contributors": null, "retweet_count": 1, "favorite_count": 4, "entities": { "hashtags": [ ], "symbols": [ ], "urls": [ ], "user_mentions": [ ] }, "favorited": false, "retweeted": false, "lang": "en"

Counts

Saturday, October 5, 13

Page 9: HackMIT Lightning Talk

@TwitterEng | HackMIT

Sources

9

Search

Streaming Snapshot

Timelines

Saturday, October 5, 13

Page 10: HackMIT Lightning Talk

@TwitterEng | HackMIT

Snapshots

10

Breaking Bad Final Season

“Felina” 9/29

#breakingbad, #felina

Boston Redsox Game7/29

#redsox, @redsox, @Raysbaseball

Breaking Bad Final Season

“Bloodmoney” 8/11

#breakingbad, #bloodmoney

Saturday, October 5, 13

Page 11: HackMIT Lightning Talk

@TwitterEng | HackMIT

JSON and >53bits

11

(380749093766561793).toString()"380749093766561800"

Saturday, October 5, 13

Page 12: HackMIT Lightning Talk

@TwitterEng | HackMIT

JSON and >53bits

12

(380749093766561793).toString()"380749093766561800"

use the _str version so you don’t hit this

Saturday, October 5, 13

Page 13: HackMIT Lightning Talk

@TwitterEng | HackMIT

Explore the API

13

Saturday, October 5, 13

Page 14: HackMIT Lightning Talk

@TwitterEng | HackMIT 14

Docshttps://dev.twitter.comhttps://dev.twitter.com/console

Codehttps://github.com/mbilotti/hashtag_aggregatorhttps://github.com/kmonkeyjam/trends_cloudhttps://github.com/twitter/hbc

Visualshttp://www.flickr.com/photos/twitteroffice/sets/72157633647745984/

Saturday, October 5, 13

Page 15: HackMIT Lightning Talk

@TwitterEng | HackMIT

Come and see us

15

@themattharris@kmonkeyjam

@kasittig@vmbarry

Saturday, October 5, 13