Re-using social media data

Post on 17-May-2015

3.314 views 2 download

Tags:

description

the practical reuse of social media data and how it can create better user experience. Combining Google’s Social Graph API with open data sources like RSS and Microformats to provide a wealth information about your users.

Transcript of Re-using social media data

Glenn JonesCodebits – Lisbon, Portugal4 Dec 2009

Re-using social media data

Aggregation

Objects

Conversation Activity

Social Media

Aggregation

Objects

Conversation Activity

Identity Relationships

Social Media

Most of us have built identities across the web, we fill in profiles, upload

photos, videos, reviews and bookmarks

Our web identity is fragmented or distributed

Identity

Identity

Distributed Identity

Identity

Identity consolidation

< a href=“http://www.glennjones.net/” rel=“me”> http://www.glennj... </a>

The power of XFN rel=me

A graph (map) of rel=me linkages

Found Site

Found Site

Found Site

Found Site

Found Site

Start SiteFound

Site

Found Site

Start SiteOutward claim

Types of social graph linkages

Found Site

rel=me

Start SiteInward claimFound

Siterel=me

Start SiteReciprocal claimFound

Siterel=me

Google Social Graph API

http://socialgraph.apis.google.com/otherme?

q=http://twitter.com/glennjones

Google Social Graph API JSON

{ "http://delicious.com/glennjonesnet": { "attributes": { "rss": "http://feeds.delicious.com/rss/glennjonesnet", "url": "http://delicious.com/glennjonesnet", "profile": "http://delicious.com/glennjonesnet" } }, "http://huffduffer.com/glennjones": { "attributes": { } }, ...

A JavaScript library that retrieves and aggregates profiles from across the web

10 identities - outward rel=me links20 identities - combined outward and inward rel=me links

5 additional identities – side effect profile parsing

Profile parsing

§

Embedded microformat hCard

ufXtract microformat API

http://ufxtract.com/api/?url=http://slideshare.net/glennjones&format=hcard&output=json

ufXtract microformat API

{ "microformats": { "vcard": [{ "fn": "Glenn Jones", "n": { "given-name": ["Glenn"], "family-name": ["Jones"] }, "adr": [{ "locality": "Brighton", "country-name": "United Kingdom" }], ...

Google Social Graph API endpoint descriptions are not as complete as they

could be

{ "http://delicious.com/glennjonesnet": { "attributes": { "rss": "http://feeds.delicious.com/rss/glennjonesnet", "url": "http://delicious.com/glennjonesnet", "profile": "http://delicious.com/glennjonesnet" } }, "http://huffduffer.com/glennjones": { "attributes": { } }, ...

Ident Engine – data overlayof endpoint descriptions

{ "name": "Last.fm", "domain": "last.fm", "urlmappings": [{ "urltemplate": "http://www.last.fm/user/{username}", "schema": "hCard", "contenttype": "Profile", "mediatype": "Html" }, { "urltemplate":"http://www.last.fm/user/{username} ", ...

Auto fill forms

The most common details shared across social media sites – work personas

The most common details shared across social media sites – social personas

Parsing user generated content from discovered endpoints

Ident Engine – user generated content endpoint descriptions

{ "name": "Vimeo", "domain": "vimeo.com", "urlmappings": [{ "urltemplate": "http://vimeo.com/{username}/videos/rss", "schema": "Atom", "contenttype": "Video", "mediatype": "Atom" } ...

Ident Engine – data overlayof endpoint descriptions

• Atom• RSS• XFN• XFN-hCard• hAtom• hCalendar• hCard• hResume• rel-tag

• Activity• Audio• Bookmarks• Entries• Events• Friends• Friends Status• Images• Interests• Lifestream

• Profile• Resume• Services• Slides• Status• Video

Content types definitionsSchemas

To join together data across the web we need a stack of open data formats and non-proprietary APIs

Microformats Parser

OAuth

RSS Library

ATOM Library

Google’s SocialGraph API

Yahoo’s YQL API

Dealing with imposters androgue relationships

Split personality

Start without discovery

Let the user decide

Only use reciprocal or outward rel=me links only

Only use outward or reciprocalrel=me links only

Now it’s your turn to use identity discovery to build a little magic into your applications

Microformats Parsershttp://microformats.org/wiki/parsers

Microformats Parser - Optimus - XSLT http://microformatique.com/optimus/

Microformats Parser - Cognition - Perlhttp://buzzword.org.uk/cognition/

Google Social Graph APIhttp://socialgraph.apis.google.com/

Social Graph Node Mapperhttp://code.google.com/p/google-sgnodemapper/

YQLhttp://developer.yahoo.com/yql/

Ident Enginehttp://identengine.com/

UfXtracthttp://ufxtract.com/

Madgex Labshttp://lab.madgex.com/

Bloghttp://www.glennjones.net/

Creative Commons Attribution-Non-Commercial 2.0 UK: England & Wales Licence.

Copyright Glenn Jones 2009www.glennjones.net