Social 101: Introduction to Google Buzz

62

Transcript of Social 101: Introduction to Google Buzz

Page 1: Social 101: Introduction to Google Buzz
Page 2: Social 101: Introduction to Google Buzz

Social 101:Introduction to Google BuzzWill NorrisMay 18, 2010

Page 3: Social 101: Introduction to Google Buzz

#iobootcamp

Page 4: Social 101: Introduction to Google Buzz

Will NorrisDeveloper Programs Engineerhttp://willnorris.com/

Page 5: Social 101: Introduction to Google Buzz

Social 101: Introduction to Google Buzz

• The Conversational Web

• Google Buzz

• Relevant Technologies

– Atom, Atom Extensions, Activity Streams

– REST, OAuth, PubSubHubbub, Salmon

• Questions & Answers

5

Page 6: Social 101: Introduction to Google Buzz

The Conversational Web

Page 7: Social 101: Introduction to Google Buzz

The Conversational Web

7

...

... ...

waffles for breakfast

#nomnomnomcan't wait for

#googleio

...

Page 8: Social 101: Introduction to Google Buzz

The Conversational Web

8

Page 9: Social 101: Introduction to Google Buzz

Google Buzz

Page 10: Social 101: Introduction to Google Buzz

Google Buzz

10

Page 11: Social 101: Introduction to Google Buzz

Google Buzz

11

Page 12: Social 101: Introduction to Google Buzz

Google Buzz

12

Page 13: Social 101: Introduction to Google Buzz

Relevant Technologies

Page 14: Social 101: Introduction to Google Buzz
Page 15: Social 101: Introduction to Google Buzz

Atom (and friends)

Page 16: Social 101: Introduction to Google Buzz

Atom<entry xmlns="http://www.w3.org/2005/Atom">

  <id>tag:example.com,2010:entry/123</id>

  <title>Hello World</title>

  <updated>2010-03-23T23:43:30.485Z</updated>

  <author>

    <name>Ted Taco</name>

    <uri>http://www.example.com/author/ted</uri>

  </author>

  <content> ... </content>

  <link rel="alternate" type="text/html"

href="http://www.example.com/123" />

</entry>

16

Page 17: Social 101: Introduction to Google Buzz

Atom<entry xmlns="http://www.w3.org/2005/Atom">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

</entry>

17

Page 18: Social 101: Introduction to Google Buzz

Atom<entry xmlns="http://www.w3.org/2005/Atom">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

  <link rel="enclosure" type="image/jpeg"

href="http://www.example.com/images/123.jpg" />

</entry>

18

Page 19: Social 101: Introduction to Google Buzz

Atom + MediaRSS<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:media="http://search.yahoo.com/mrss/">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

  <link rel="enclosure" type="image/jpeg"

href="http://www.example.com/images/123.jpg"

media:height="600" media:width="800" />

</entry>

19

Page 20: Social 101: Introduction to Google Buzz

Atom<entry xmlns="http://www.w3.org/2005/Atom">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

</entry>

20

Page 21: Social 101: Introduction to Google Buzz

Atom + GeoRSS<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:georss="http://www.georss.org/georss">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

<georss:point>37.7834 -122.4035</georss:point>

<georss:featureName>Moscone Center</georss:featureName>

</entry>

21

Page 22: Social 101: Introduction to Google Buzz

Atom + GeoRSS + Portable Contacts<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:georss="http://www.georss.org/georss"

xmlns:poco="http://portablecontacts.net/ns/1.0">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

<georss:point>37.7834 -122.4035</georss:point>

<georss:featureName>Moscone Center</georss:featureName>

<poco:address><poco:formatted>

747 Howard Street, San Francisco, CA 94103

</poco:formatted></poco:address>

</entry>

22

Page 23: Social 101: Introduction to Google Buzz

Atom + Threading<entry xmlns="http://www.w3.org/2005/Atom">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

</entry>

23

Page 24: Social 101: Introduction to Google Buzz

Atom + Threading<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:thr="http://purl.org/syndication/thread/1.0">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

  <link rel="replies" type="application/atom+xml" href="..."

thr:count="14" thr:updated="2010-05-12T20:34:54Z" />

</entry>

24

Page 25: Social 101: Introduction to Google Buzz

Atom + Threading<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:thr="http://purl.org/syndication/thread/1.0">

  <id> ... </id>

  <author> ... </author>

  <link rel="alternate" type="text/html" href="..." />

  <thr:in-reply-to ref="tag:example.com,2010:post/123"

type="text/html" href="http://example.com/123" />

</entry>

25

Page 26: Social 101: Introduction to Google Buzz

Activity Streams

Page 27: Social 101: Introduction to Google Buzz

27

Page 28: Social 101: Introduction to Google Buzz

28

Page 29: Social 101: Introduction to Google Buzz

29

Page 30: Social 101: Introduction to Google Buzz

30

Page 31: Social 101: Introduction to Google Buzz

What do these feeds have in common?

31

Page 32: Social 101: Introduction to Google Buzz

Not Much

32

Page 33: Social 101: Introduction to Google Buzz

Actor + Verb + Object

33

• Ted committed revision 43

• Cami favorited a video

• Ted friended Cami

Page 34: Social 101: Introduction to Google Buzz

Atom + Activity Streams<entry xmlns="http://www.w3.org/2005/Atom">

  <id> ... </id>

  <author>

    <name> ... </name>

  </author>

</entry>

34

Page 35: Social 101: Introduction to Google Buzz

Atom + Activity Streams<entry xmlns="http://www.w3.org/2005/Atom"

xmlns:activity="http://activitystrea.ms/spec/1.0">

  <id> ... </id>

  <author>

    <name> ... </name>

<activity:object-type>

http://activitystrea.ms/schema/1.0/person

</activity:object-type>

  </author>

<activity:verb>http://activitystrea.ms/schema/1.0/favorite</activity:verb>

<activity:object>

<activity:object-type>

http://activitystrea.ms/schema/1.0/video

</activity:object-type>

  <content> ... </content>

</activity:object>

</entry>

35

Page 36: Social 101: Introduction to Google Buzz

Salmon

Page 37: Social 101: Introduction to Google Buzz

Salmon

37

CommentsLikes

Page 38: Social 101: Introduction to Google Buzz

Salmon

37

CommentsLikes

CommentsLikes

Page 39: Social 101: Introduction to Google Buzz

Salmon

37

CommentsLikes

CommentsLikes

FriendFeedComments

Likes

Page 40: Social 101: Introduction to Google Buzz

Salmon

37

CommentsLikes

CommentsLikes

FriendFeedComments

Likes

Page 41: Social 101: Introduction to Google Buzz

Wednesday, 3:00pm - 4:00pm Room 9Bridging the Islands

38

Page 42: Social 101: Introduction to Google Buzz

PubSubHubbub

Page 43: Social 101: Introduction to Google Buzz

PubSubHubbub

40

Anything New?

NoYes!

Page 44: Social 101: Introduction to Google Buzz

PubSubHubbub

40

Anything New?

NoYes!

Page 45: Social 101: Introduction to Google Buzz

PubSubHubbub

40

Anything New?

NoYes!

Page 46: Social 101: Introduction to Google Buzz

PubSubHubbub

40

Anything New?

NoYes!

Page 47: Social 101: Introduction to Google Buzz

PubSubHubbub

41

Page 48: Social 101: Introduction to Google Buzz

PubSubHubbub

41

Page 49: Social 101: Introduction to Google Buzz

PubSubHubbub

42

Page 50: Social 101: Introduction to Google Buzz

PubSubHubbub

42

Page 51: Social 101: Introduction to Google Buzz

Wednesday, 4:15pm - 5:15pm Room 9Make your application real-time with PubSubHubbub

43

Page 52: Social 101: Introduction to Google Buzz

OAuth

Page 53: Social 101: Introduction to Google Buzz

Password Anti-PatternOAuth

45

Page 54: Social 101: Introduction to Google Buzz

Your Valet Key for the WebOAuth

46

• Valet Key– Limit speed to 20 mph– Limit total distance to 20 miles– Restrict access to the trunk and glove box

• OAuth Token– Limit to a particular application– Limit which data application can access– Limit how long the data can be accessed – Revokable

Page 55: Social 101: Introduction to Google Buzz

47

Page 56: Social 101: Introduction to Google Buzz

48

Page 57: Social 101: Introduction to Google Buzz

49

Page 58: Social 101: Introduction to Google Buzz

Wednesday, 1:45pm - 2:45pm Room 8What's the hubbub about Google Buzz APIs?

50

Thursday, 11:30pm - 12:30pm Room 1Surf the stream: Google Buzz, location, and social gaming

Page 59: Social 101: Introduction to Google Buzz

Wednesday, 1:45pm - 2:45pm Room 8What's the hubbub about Google Buzz APIs?

50

Thursday, 11:30pm - 12:30pm Room 1Surf the stream: Google Buzz, location, and social gaming

Page 60: Social 101: Introduction to Google Buzz

See the Social Web sessions in I/O schedule

51

Page 61: Social 101: Introduction to Google Buzz

Questions

52

Page 62: Social 101: Introduction to Google Buzz