google day in cyberjaya at multimedia university - the social web is better when it's open

148
The Social Web Is Better When It's Open Google Day, July 14, 2010 Timothy Jordan Developer Advocate, Google

Upload: timothy-jordan

Post on 27-Jul-2015

158 views

Category:

Documents


0 download

DESCRIPTION

My 1.5hr talk at Google Day Word Of Mouth event at Multimedia University in Cyberjaya near Kuala Lumpur in Malaysia.

TRANSCRIPT

Page 1: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's OpenGoogle Day, July 14, 2010

Timothy JordanDeveloper Advocate, Google

Page 2: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Hello, world!

Timothy JordanDeveloper Advocate, Google

buzz.timothyjordan.com@timothyjordan

Page 3: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

Page 4: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

Page 5: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

• Open Standards

Page 6: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

• Open Standards

• Google Buzz

Page 7: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

• Open Standards

• Google Buzz

• Google Buzz API

Page 8: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

• Open Standards

• Google Buzz

• Google Buzz API

• Examples

Page 9: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

• Open Standards

• Google Buzz

• Google Buzz API

• Examples

• Conclusion

Page 10: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

The Social Web Is Better When It's Open

• Let’s talk about us

• Open Standards

• Google Buzz

• Google Buzz API

• Examples

• Conclusion

• Questions and Answers

Page 11: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Let’s talk about us...May I remind you that you have now been in that bath for over three years?*

*Hitchhiker’s Guide to the Galaxy, Douglas Adams

Page 12: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 13: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 14: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 15: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 16: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 17: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 18: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

http://www.douglasadams.com/dna/19990901-00-a.html

“We are natural villagers. For most of mankind’s history we have lived in very small communities in which we knew everybody and everybody knew us. But gradually there grew to be far too many of us, and our communities became too large and disparate for us to be able to feel a part of them, and our technologies were unequal to the task of drawing us together. But that is changing.”

How to Stop Worrying and Learn to Love the InternetDouglas Adams

Page 19: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

http://www.douglasadams.com/dna/19990901-00-a.html

“Interactivity. Many-to-many communications. Pervasive networking. These are cumbersome new terms for elements in our lives so fundamental that, before we lost them, we didn’t even know to have names for them.”

How to Stop Worrying and Learn to Love the InternetDouglas Adams

Page 20: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 21: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

http://www.douglasadams.com/dna/19990901-00-a.html

1) everything that’s already in the world when you’re born is just normal

How to Stop Worrying and Learn to Love the InternetDouglas Adams

Page 22: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

http://www.douglasadams.com/dna/19990901-00-a.html

2) anything that gets invented between then and before you turn thirty is incredibly exciting and creative and with any luck you can make a career out of it;

How to Stop Worrying and Learn to Love the InternetDouglas Adams

Page 23: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

http://www.douglasadams.com/dna/19990901-00-a.html

3) anything that gets invented after you’re thirty is against the natural order of things and the beginning of the end of civilisation as we know it until it’s been around for about ten years when it gradually turns out to be alright really.

How to Stop Worrying and Learn to Love the InternetDouglas Adams

Page 24: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 25: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

http://www.ted.com/talks/clay_shirky_how_cellphones_twitter_facebook_can_make_history.html

“These tools don’t get socially interesting until they get technologically boring. It isn’t when the shining new tools show up that their uses start permeating society. It’s when everybody is able to take them for granted.”

Clay Shirky

Page 26: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

context

Page 27: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 28: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 29: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Open Standards

Page 30: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 31: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 32: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 33: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 34: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 35: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Identity

Activity Streams

Page 36: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Identity

Activities

Activity Streams

Page 37: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Identity

Activities

Objects

Activity Streams

Page 38: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Timothy

Shares

A Link

Activity Streams

Page 39: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Barack Obama

Started Following

Timothy Jordan

Activity Streams

Page 40: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Timothy Jordan

Started Following

Barack Obama

Activity Streams

Page 41: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 42: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 43: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 44: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Google Buzz...and the conversational web

Page 45: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 46: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 47: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 48: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 49: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 50: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 51: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 52: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 53: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 54: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 55: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 56: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

code.google.com/apis/buzz

Page 57: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Google Buzz API

Page 58: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Warning!

Page 63: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

alt• alt=atom returns an Atom representation of the data.• alt=json returns a JSON representation of the data.

prettyprint• If prettyprint=true, the results returned by the server will be human readable• Default: prettyprint=false

https://www.googleapis.com/buzz/v1/activities/@me/@self?alt=json&prettyprint=true

https://www.googleapis.com/buzz/v1/

Page 64: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

https://www.googleapis.com/buzz/v1/activities/@me/@self?max-results=20&c={token}

• preview=true preview the operation.• max-results=N maximum number of results.• max-liked=N maximum number of likes• max-comments=N maximum number of comments• c={token} continuation token

https://www.googleapis.com/buzz/v1/

Page 65: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

https://www.googleapis.com/buzz/v1/activities/search?q={q}&lat={l}&lon={l}&radius={r}

• q={query} search.• lat, lon, radius geo location.• bbox bounding box.

https://www.googleapis.com/buzz/v1/

Page 67: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Timothy

Shares

A Link

Page 68: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },

  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "{url}/chabotc",   "thumbnailUrl": "{url}/chabotc/thumb.jpg"  },  "verbs": [   "post"  ],  "object": {   "type": "note",   "content": "content goes here",   "links": {    "alternate": [     {      "href": "http://www.google.com/buzz/a/google.com",      "type": "text/html"     }    ]   }  },

Page 69: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "{url}/chabotc",   "thumbnailUrl": "{url}/chabotc/thumb.jpg"  },

  "verbs": [   "post"  ],  "object": {   "type": "note",   "content": "content goes here",   "links": {    "alternate": [     {      "href": "http://www.google.com/buzz/a/google.com",      "type": "text/html"     }    ]   }  },  "source": {   "title": "Buzz"  },  "visibility": {   "entries": [

Page 70: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "{url}/chabotc",   "thumbnailUrl": "{url}/chabotc/thumb.jpg"  },  "verbs": [   "post"  ],

  "object": {   "type": "note",   "content": "content goes here"   }  },  "source": {   "title": "Buzz"  },  "visibility": {   "entries": [    {     "id": "https://www.googleapis.com/buzz/v1/people/@me/@groups/@public?alt\u003djson",     "title": "Public"    }   ]  } }

Page 71: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",

  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 0    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",

Page 72: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {

   "liked": [    {     "href": "{url}/{userid}/@self/{commentId}/@liked?alt=json",     "type": "application/json",     "count": 4, "updated": "2010-05-09T02:53:13.730Z"    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"

Page 73: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],

   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "http://www.google.com/profiles/a/google.com/110242419133439594545",   "thumbnailUrl": ""  },  "verbs": [   "post"  ],  "object": {

Page 74: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "{url}/chabotc",   "thumbnailUrl": "{url}/chabotc/thumb.jpg"  },  "verbs": [   "post"  ],  "object": {   "type": "note",   "content": "content goes here",   "links": {    "alternate": [     {      "href": "http://www.google.com/buzz/a/google.com",      "type": "text/html"     }    ]   }  },

  "source": {   "title": "Buzz"  },  "visibility": {   "entries": [    {     "id": "https://www.googleapis.com/buzz/v1/people/@me/@groups/@public?alt\u003djson",     "title": "Public"    }   ]  } }

Page 75: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "{url}/chabotc",   "thumbnailUrl": "{url}/chabotc/thumb.jpg"  },  "verbs": [   "post"  ],  "object": {   "type": "note",   "content": "content goes here",   "links": {    "alternate": [     {      "href": "http://www.google.com/buzz/a/google.com",      "type": "text/html"     }    ]   }  },  "source": {   "title": "Buzz"  },

  "visibility": {   "entries": [    {     "id": "{url}/people/@me/@groups/@public?alt=json",     "title": "Public"    }   ]  } }

Page 76: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

{  "kind": "buzz#activity",  "title": "note to self",  "published": "2010-05-09T02:53:13.000Z",  "updated": "2010-05-09T02:53:13.730Z",   "id": "tag:google.com,2010:buzz:foo",  "links": {   "liked": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4/@liked?alt\u003djson",     "type": "application/json",     "count": 4    }   ],   "alternate": [    {     "href": "http://www.google.com/buzz/a/google.com",     "type": "text/html"    }   ],   "self": [    {     "href": "https://www.googleapis.com/buzz/v1/activities/110242419133439594545/@self/tag:google.com,2010:buzz:z13ispojgwqsinyij04chlupum2ytbspsa4?alt\u003djson",     "type": "json"    }   ],   "replies": [    {     "href": "{url}/{userId}/@self/{commentId}/@comments?alt=json",     "type": "application/json",     "count": 2,     "updated": "2010-05-09T02:53:13.730Z"    }   ]  },  "actor": {   "id": "110242419133439594545",   "name": "Chris Chabot",   "profileUrl": "{url}/chabotc",   "thumbnailUrl": "{url}/chabotc/thumb.jpg"  },  "verbs": [   "post"  ],  "object": {   "type": "note",   "content": "content goes here",   "links": {    "alternate": [     {      "href": "http://www.google.com/buzz/a/google.com",      "type": "text/html"     }    ]   }  },  "source": {   "title": "Buzz"  },  "visibility": {   "entries": [    {     "id": "{url}/people/@me/@groups/@public?alt=json",     "title": "Public"    }   ] },

"geocode": "37.783471 -122.39922", "address": "701-737 Folsom St, San Francisco, CA 94103, USA", "placeName": "300 3rd St, San Francisco, CA 94107" } }

Page 77: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 78: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

    "object": {     "type": "note",     "content": "content goes here",

"attachments": [ { "type": "article", "title": "Name of the link", "links": { "alternate": [ { "href": "{url}/to/article.html", "type": "text/html" } ] } } ]    }

Page 79: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 80: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

    "object": {     "type": "note",     "content": "content goes here",

     "attachments": [      {       "type": "photo",       "links": {        "preview": [         {          "href": "{url}/image_thumb.jpg",          "type": "image/jpeg"         }        ],        "enclosure": [         {          "href": "{url}/image.jpg",          "type": "image/jpeg",          "height": 190,          "width": 260         }        ]       }      }     ]    }

Page 81: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

    "object": {     "type": "note",     "content": "content goes here", "attachments": [ {

"type": "video", "title": "video description goes here", "links": { "alternate": [ { "href": "http://www.youtube.com/watch?v=abcdef", "type": "text/html" } ], "preview": [ { "href": "{url}/default.jpg", "type": "image/jpeg" }, { "href": "{url}/proxy?thumbnail_default.jpg", "type": "image/jpeg" } ] } } ]

Page 82: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

FavoriteFollowFriendJoinPlayPostSaveShareTagUpdate

ArticleAudioBookmarkCommentFileFolderGroupListNotePerson

PhotoPhoto AlbumPlacePlaylistProductReviewServiceStatusVideo

Verbs Objects

Page 83: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

FavoriteFollowFriendJoinPlayPostSaveShareTagUpdate

ArticleAudioBookmarkCommentFileFolderGroupListNotePerson

PhotoPhoto AlbumPlacePlaylistProductReviewServiceStatusVideo

Verbs Objects

Page 86: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 87: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 89: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

mac:~ user$ echo \  '{    "data": {      "object": {        "type": "note",        "content": "Bzz! Bzz! via JSON"      }    }   }'| oacurl -t JSON -X POST \ "https://www.googleapis.com/buzz/v1/activities/@me/@self?alt=json"

http://code.google.com/p/oacurl/

Page 94: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Examples...for fun and profit

Page 95: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Buzzzy

Marginize SocialwokPing.fm

Meebo bar Shareaholic

Klout Seesmic

Tweetdeck

Page 96: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Boxee

Page 97: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 98: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 99: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 100: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 101: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

TweetDeck

Page 102: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Seesmic

Page 103: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Buzz Bingobuzz-bingo.appspot.com

Page 104: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 105: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 106: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 107: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 108: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 109: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 110: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 111: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 112: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 113: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 114: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

client = buzz.Client()client.build_oauth_consumer(  OAUTH_CONSUMER_KEY,  OAUTH_CONSUMER_SECRET)client.oauth_scopes.append(  buzz.FULL_ACCESS_SCOPE)

Sign-In & Auth for Buzz

Page 115: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

request_token = \  client.fetch_oauth_request_token(    'http://example.com/oauth/callback/'  )# Save request token to the data storeauthorization_url = \  client.build_oauth_authorization_url(    request_token  )

Sign-In & Auth for Buzz

Page 116: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

# User visits the authorization_url

Sign-In & Auth for Buzz

Page 117: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 118: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 119: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

verifier = request.get('oauth_verifier')# Lookup request_token in data storeclient.oauth_request_token = request_tokenaccess_token = \  client.fetch_oauth_access_token(verifier)# Save access token to the data store

Sign-In & Auth for Buzz

Page 120: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 121: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 122: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 123: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 124: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 125: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 126: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 127: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

if post.attachments:  for attachment in post.attachments:    if attachment.type == 'article':      self.award_badge('share')      breakif post.geocode and \    post.actor.id != self.key().name():  self.award_badge('geo')elif post.geocode:  self.award_badge('mobile')

Board Marked

Page 128: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

# Create the attachments for the postbadge_attachment = buzz.Attachment(  type='photo', enclosure=badge.badge_icon)link_attachment = buzz.Attachment(  type='article',  title='Buzz Bingo',  uri='http://buzz-bingo.appspot.com/')

Board Marked

Page 129: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

# Assemble our announcement Buzz postbadge_post = buzz.Post(  content=post_content,  attachments=[    badge_attachment,    link_attachment  ],  geocode=VENUE_GEOCODE,  place_id=VENUE_PLACE_ID)# Create the postself.client.create_post(badge_post)

Board Marked

Page 130: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 131: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 132: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 133: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

if (5 in horizontal_counts) or \    (5 in vertical_counts):  self.award_badge('bingo')

Bingo!

Page 134: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 135: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 136: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 137: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open
Page 138: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Buzz Bingo is open source!code.google.com/p/buzz-bingo

buzz-bingo.appspot.com

Page 139: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Conclusion

Page 140: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Social?

Page 141: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Social!

Page 142: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

This is Natural

Page 143: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Open Standards

Page 147: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Thank you

Page 148: Google Day in Cyberjaya at Multimedia University - The Social Web Is Better When It's Open

Questions and Answers

Timothy JordanDeveloper Advocate, Google

buzz.timothyjordan.com@timothyjordan