• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,322
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
2
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Getting stuff in and out of Buzz A quick guide Paul Kinlan Developer Programs Engineer
  • 2. Who am I? @Paul_Kinlan I help you build cool stuff!
  • 3. What is Buzz? A platform for sharing. Built supporting open protocols
  • 4. Technologies A very brief overview
  • 5. PubSubHubbub Don't call us. We'll call you!
  • 6. Activity Streams A way of expressing what people do on the web
  • 7. MediaRSS Embed content and meta-data into your feeds.
  • 8. XFN + Social Graph API A way to express machine readable connections between people.
  • 9. WebFinger For a given public account (email address) WebFinger returns an XRD. Contains information about where we can discover information. Helps discover the OpenID endpoint. Web Finger -> Profile -> OpenID The XRD Document also points to a Buzz Feed Web Finger -> Buzz Feed
  • 10. Common Questions How do I discover a user's Buzz feed? How do I get notified of updates to a users Buzz feed? How can I get my feeds into Buzz?
  • 11. All about a demo Create a service that uses discovery and login
  • 12. Quick Flow
  • 13. WebFinger result An example response for a profile that is publicly listed and has a public username. Query: http://www.google.com/s2/webfinger/?q=acct:paul. kinlan@gmail.com <?xml version='1.0'?> <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> <Subject>acct:paul.kinlan@gmail.com</Subject> <Alias>http://www.google.com/profiles/paul.kinlan</Alias> <Link rel='http://portablecontacts.net/spec/1.0' href='http://www-opensocial.googleusercontent.com/api/people/'/> <Link rel='http://webfinger.net/rel/profile-page' href='http://www.google.com/profiles/paul.kinlan' type='text/html'/> <Link rel='http://microformats.org/profile/hcard' href='http://www.google.com/profiles/paul.kinlan' type='text/html'/> <Link rel='http://gmpg.org/xfn/11' href='http://www.google.com/profiles/paul.kinlan' type='text/html'/> <Link rel='http://specs.openid.net/auth/2.0/provider' href='http://www.google.com/profiles/paul.kinlan'/> <Link rel='describedby' href='http://www.google.com/profiles/paul.kinlan' type='text/html'/> <Link rel='http://schemas.google.com/g/2010#updates-from' href='http://buzz.googleapis. com/feeds/116059998563577101552/public/posted' type='application/atom+xml'/> </XRD>
  • 14. Notification of Updates Use Pubsubhubbub. It Rocks. NO MORE POLLING. The hub pings you when there is an update. The hub is defined in the user's feed. <link rel="hub" href="......"> POST http://pubsubhubbub.appspot.com/?hub.callback=http%3A//statusmate. appspot.com/callback &hub.topic=http%3A//buzz.googleapis.com/feeds/11223344/public/posted &hub.verify=sync &hub.mode=subscribe
  • 15. Getting your stuff into Buzz ATOM and RSS are your Friends Media RSS Activity Streams PubSubHubbub - Appears instantly in Buzz. We use XFN and Google profiles for a mutal authentication. If you have access to the feed and profile, then you must own both. How? Add a link to the feed in your profile Add a rel="me" in your feed <link rel="me" href="http://google. com/profiles/paul.kinlan"/> We do the rest.
  • 16. Forward the future Read/Write API AtomPub - For writing support OAuth - delegated authorization Salmon - Federated Comments and Activities
  • 17. Ideas Wrap your twitter feeds. Add MediaRSS to the ATOM feed Wrap your favorites feed Integrate your service
  • 18. Links Help shape the API: http://groups.google.com/group/google-buzz-api Report Bugs: http://code.google.com/p/google-buzz-api/issues/list Buzz API: http://code.google.com/apis/buzz/ Open ID: http://openid.net/ WebFinger: http://code.google.com/p/webfinger/ Profiles: http://www.google.com/profiles Pubsubhubbhub: http://code.google.com/p/pubsubhubbub/
  • 19. Thank You!