55
Bastian Hofmann, VZnet Netzwerke Ltd Opening up the Social Web Standards that are bridging the Islands Mittwoch, 13. Oktober 2010

Opening up the Social Web - Standards that are bridging the Islands

Embed Size (px)

DESCRIPTION

Social networks are not closed off to the rest of the web anymore. Various standards like ActivityStreams, PubSubHubbub, WebFinger, OpenSocial, Salmon, OEmbed, XAuth or OExchange are emerging to open them up to other websites. I will introduce these protocols, show how they work together, how you can benefit from them and give an outlook on how they will change the world of social networks.

Citation preview

Page 1: Opening up the Social Web - Standards that are bridging the Islands

Bastian Hofmann, VZnet Netzwerke Ltd

Opening up the Social Web

Standards that are bridging the Islands

Mittwoch, 13. Oktober 2010

Page 2: Opening up the Social Web - Standards that are bridging the Islands

Agenda

•OpenID•WebFinger•Well-Known URIs•Web Host Meta Data

•XRD•Portable Contacts

•Activity Strea.ms

•PubSubHubbub•Salmon•OExchange•XAuth•OEmbed•OpenSocial•SWAT0

Mittwoch, 13. Oktober 2010

Page 4: Opening up the Social Web - Standards that are bridging the Islands

... you could not send a mail to another provider

Mittwoch, 13. Oktober 2010

Page 5: Opening up the Social Web - Standards that are bridging the Islands

... you could not call your friends at another carrier

Mittwoch, 13. Oktober 2010

Page 6: Opening up the Social Web - Standards that are bridging the Islands

Back to reality

Mittwoch, 13. Oktober 2010

Page 7: Opening up the Social Web - Standards that are bridging the Islands

Mittwoch, 13. Oktober 2010

Page 8: Opening up the Social Web - Standards that are bridging the Islands

Meet Bill and Steve

Mittwoch, 13. Oktober 2010

Page 9: Opening up the Social Web - Standards that are bridging the Islands

Bill want‘s to comment on Steve‘s blog

Mittwoch, 13. Oktober 2010

Page 10: Opening up the Social Web - Standards that are bridging the Islands

Has to sign up for an account

Mittwoch, 13. Oktober 2010

Page 11: Opening up the Social Web - Standards that are bridging the Islands

OpenID

•Steve‘s blog can use Bill‘s Identy Provider to sign in

•Discovery through unique OpenID–http://openid.live.com/bill

•More info at my OpenID talk

http://openid.net/

Mittwoch, 13. Oktober 2010

Page 12: Opening up the Social Web - Standards that are bridging the Islands

Bill want‘s to know more about Steve

paurian

Mittwoch, 13. Oktober 2010

Page 13: Opening up the Social Web - Standards that are bridging the Islands

In the old days: Fingerbhofmann@svz-pcn-107 ~ $ finger bhofmann

Login: bhofmann Name: Bastian HofmannDirectory: /Users/bhofmann Shell: /bin/bashOn since Di 14 Sep 21:45 (CEST) on console, idle 1:36 (messages off)On since Di 14 Sep 23:02 (CEST) on ttys000No Mail.No Plan.

Mittwoch, 13. Oktober 2010

Page 14: Opening up the Social Web - Standards that are bridging the Islands

Now: WebFinger

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

Mittwoch, 13. Oktober 2010

Page 15: Opening up the Social Web - Standards that are bridging the Islands

http://example.com/.well-known/host-meta<?xml version='1.0' encoding='UTF-8'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'     xmlns:hm='http://host-meta.net/xrd/1.0'>     <hm:Host>example.com</hm:Host>     <Link rel='lrdd'        template='http://example.com/describe?uri={uri}'>        <Title>Resource Descriptor</Title>    </Link></XRD> 

http://tools.ietf.org/html/draft-nottingham-site-metahttp://tools.ietf.org/html/draft-hammer-hostmetahttp://docs.oasis-open.org/xri/xrd/v1.0/xrd-1.0.html

Mittwoch, 13. Oktober 2010

Page 16: Opening up the Social Web - Standards that are bridging the Islands

http://example.com/describe?uri=acct:[email protected]<?xml version='1.0' encoding='UTF-8'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>     <Subject>acct:[email protected]</Subject>    <Alias>http://example.com/profiles/joe</Alias>     <Link rel='http://portablecontacts.net/spec/1.0'          href='http://example.com/api/people/' />    <Link rel='http://webfinger.net/rel/profile-page'          type='text/html'          href='http://example.com/profiles/joe' />    <Link rel='http://microformats.org/profile/hcard'          type='text/html'          href='http://example.com/profiles/joe' />    <Link rel='describedby'          type='text/html'          href='http://example.com/profiles/joe' />    <Link rel='http://webfinger.net/rel/avatar'          href='http://example.com/profiles/joe/photo' /></XRD>

Mittwoch, 13. Oktober 2010

Page 17: Opening up the Social Web - Standards that are bridging the Islands

Portable Contacts

{  "id" : "example.org:34KJDCSKJN2HHF0DW20394",  "displayName" : "Janey",  "name" : {"unstructured" : "Jane Doe"},  "gender" : "female"}

•standardized access to user data and their relations (Social Graph)

•simple to use

http://portablecontacts.net/

Mittwoch, 13. Oktober 2010

Page 18: Opening up the Social Web - Standards that are bridging the Islands

DEMO

Mittwoch, 13. Oktober 2010

Page 19: Opening up the Social Web - Standards that are bridging the Islands

He want‘s to follow Steve‘s status updates

Mittwoch, 13. Oktober 2010

Page 20: Opening up the Social Web - Standards that are bridging the Islands

ActivityStrea.ms

•Standard for a stream of activities (Feed)

•Atom based

http://activitystrea.ms/

Mittwoch, 13. Oktober 2010

Page 21: Opening up the Social Web - Standards that are bridging the Islands

PubSubHubbubretrieves Atom feed with Hub URL

Hub

posts sthpings everysubscriber

subscribes for feed

ackssubscription

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

Mittwoch, 13. Oktober 2010

Page 22: Opening up the Social Web - Standards that are bridging the Islands

DEMO

Mittwoch, 13. Oktober 2010

Page 23: Opening up the Social Web - Standards that are bridging the Islands

Now Bill mentions Steve to his pal

have a look at @steve stream

Mittwoch, 13. Oktober 2010

Page 24: Opening up the Social Web - Standards that are bridging the Islands

and what about Comments?

new macs will have IE9

I would‘ve chosenChrome

Mittwoch, 13. Oktober 2010

Page 25: Opening up the Social Web - Standards that are bridging the Islands

Salmon

http://www.salmon-protocol.org/

Mittwoch, 13. Oktober 2010

Page 26: Opening up the Social Web - Standards that are bridging the Islands

Salmon

http://www.salmon-protocol.org/

Mittwoch, 13. Oktober 2010

Page 27: Opening up the Social Web - Standards that are bridging the Islands

Salmon

http://www.salmon-protocol.org/

Mittwoch, 13. Oktober 2010

Page 28: Opening up the Social Web - Standards that are bridging the Islands

DEMO

Mittwoch, 13. Oktober 2010

Page 29: Opening up the Social Web - Standards that are bridging the Islands

Bill is now on his favourite Video Portal

Mittwoch, 13. Oktober 2010

Page 30: Opening up the Social Web - Standards that are bridging the Islands

He want‘s to share a video with his friends

... but his favourite social network has no sharing button at YouTube

Mittwoch, 13. Oktober 2010

Page 31: Opening up the Social Web - Standards that are bridging the Islands

Nascar Problem

Mittwoch, 13. Oktober 2010

Page 32: Opening up the Social Web - Standards that are bridging the Islands

XAuth

http://xauth.org/

Mittwoch, 13. Oktober 2010

Page 33: Opening up the Social Web - Standards that are bridging the Islands

XAuth at Provider

•100% Client Technology

XAuth.extend({ token: "1", expire: new Date().getTime() + 60*60*24*1000, extend: ["*"], });

Login xauth.org/xauth.js

Mittwoch, 13. Oktober 2010

Page 34: Opening up the Social Web - Standards that are bridging the Islands

XAuth at Consumer

Visits xauth.org/xauth.js

XAuth.retrieve({ retrieve: ['xauth.org'], callback: receiveTokens });

•But static server on central domain needed

Mittwoch, 13. Oktober 2010

Page 35: Opening up the Social Web - Standards that are bridging the Islands

OExchange

•Common API for publishing sth. into social networks

http://www.example.com/share.php?url={URI}&title={title for the content}&description={short description of the content}&ctype=flash&swfurl={SWF URI}&height={preferred SWF height}&width={preferred swf width}&screenshot={screenshot URI}

http://www.oexchange.org/

Mittwoch, 13. Oktober 2010

Page 36: Opening up the Social Web - Standards that are bridging the Islands

Discovery over XRD<?xml version='1.0' encoding='UTF-8'?><XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">    <Subject>http://www.example.com/linkeater</Subject>    <Property        type="http://www.oexchange.org/spec/0.8/prop/vendor">        Examples Inc.</Property>    <Property        type="http://www.oexchange.org/spec/0.8/prop/title">        A Link-Accepting Service</Property>    <Link        rel= "icon" href="http://www.example.com/favicon.ico"       type="image/vnd.microsoft.icon" />    <Link        rel= "http://www.oexchange.org/spec/0.8/rel/offer"        href="http://www.example.com/linkeater/offer.php"       type="text/html" /></XRD>

Mittwoch, 13. Oktober 2010

Page 37: Opening up the Social Web - Standards that are bridging the Islands

DEMO

Mittwoch, 13. Oktober 2010

Page 38: Opening up the Social Web - Standards that are bridging the Islands

Now there is a link in his status update

cool video:http://www.youtube.com/watch?v=OFzkTxiwziQ

Mittwoch, 13. Oktober 2010

Page 39: Opening up the Social Web - Standards that are bridging the Islands

OEmbed

•Retrieves embeddable content for a given link

http://www.flickr.com/services/oembed/?url=http%3A//www.flickr.com/photos/bees/2341623661/

{        "version": "1.0",        "type": "photo",        "width": 240,        "height": 160,        "title": "ZB8T0193",        "url": "http://farm4.static.flickr.com/3123/2341623661_7c99f48bbf_m.jpg",        "author_name": "Bees",        "author_url": "http://www.flickr.com/photos/bees/",        "provider_name": "Flickr",        "provider_url": "http://www.flickr.com/"} http://oembed.com/

Mittwoch, 13. Oktober 2010

Page 40: Opening up the Social Web - Standards that are bridging the Islands

OEmbed Discovery

•Discoverable through meta tags at original resource

<link rel="alternate" type="application/json+oembed"        href="http://flickr.com/services/oembed?url=http%3A//flickr.com/photos/bees/2362225867/&format=json"        title="Bacon Lollys oEmbed Profile" /><link rel="alternate" type="text/xml+oembed"        href="http://flickr.com/services/oembed?url=http%3A//flickr.com/photos/bees/2362225867/&format=xml"        title="Bacon Lollys oEmbed Profile" />

Mittwoch, 13. Oktober 2010

Page 41: Opening up the Social Web - Standards that are bridging the Islands

The embedded result

cool video:

Mittwoch, 13. Oktober 2010

Page 42: Opening up the Social Web - Standards that are bridging the Islands

OEmbed Aggregation

•embed.ly•supports 112 services over one endpoint

•several libraries•easy implementation

http://embed.ly/

Mittwoch, 13. Oktober 2010

Page 43: Opening up the Social Web - Standards that are bridging the Islands

DEMO

Mittwoch, 13. Oktober 2010

Page 44: Opening up the Social Web - Standards that are bridging the Islands

Bill is really into social games

Mittwoch, 13. Oktober 2010

Page 45: Opening up the Social Web - Standards that are bridging the Islands

Social Apps with OpenSocial

•One App, many containers•Users of one container can play with users on other containers

•Widely adopted into many social networks

•Also used in some enterprise applications

http://www.opensocial.org/

Mittwoch, 13. Oktober 2010

Page 46: Opening up the Social Web - Standards that are bridging the Islands

OpenSocial Reach

Mittwoch, 13. Oktober 2010

Page 47: Opening up the Social Web - Standards that are bridging the Islands

DEMO

Mittwoch, 13. Oktober 2010

Page 48: Opening up the Social Web - Standards that are bridging the Islands

OpenSocial Europe Event06.12. - 07.12.

Utrecht (NL)

http://blog.opensocial.org/2010/10/first-european-opensocial-event-in.html

Mittwoch, 13. Oktober 2010

Page 49: Opening up the Social Web - Standards that are bridging the Islands

Many standards available

Mittwoch, 13. Oktober 2010

Page 50: Opening up the Social Web - Standards that are bridging the Islands

But still much to be done

•Friends and Friendships•Privacy•Access Control•What is the right identifier?•More than one provider with one E-Mail Address?

•Wide adoption•Easy implementation

Mittwoch, 13. Oktober 2010

Page 51: Opening up the Social Web - Standards that are bridging the Islands

Many projects - one common goal

http://federatedsocialweb.net

Mittwoch, 13. Oktober 2010

Page 52: Opening up the Social Web - Standards that are bridging the Islands

And many people working on it

http://federatedsocialweb.net

Mittwoch, 13. Oktober 2010

Page 53: Opening up the Social Web - Standards that are bridging the Islands

Social Web Acid Test - Level 0

factoryjoe

Mittwoch, 13. Oktober 2010

Page 54: Opening up the Social Web - Standards that are bridging the Islands

How far is VZnet?

•OpenSocial•OEmbed•OExchange•XRD•PortableContacts•ActivityStrea.ms•OpenID•WebFinger•PubsubHubbub

•Salmon•XAuth

Mittwoch, 13. Oktober 2010