re-using social media data
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
![Page 1: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/1.jpg)
Glenn JonesCodebits – Lisbon, Portugal4 Dec 2009
Re-using social media data
![Page 2: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/2.jpg)
Aggregation
Objects
Conversation Activity
Social Media
![Page 3: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/3.jpg)
Aggregation
Objects
Conversation Activity
Identity Relationships
Social Media
![Page 4: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/4.jpg)
Most of us have built identities across the web, we fill in profiles, upload
photos, videos, reviews and bookmarks
![Page 5: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/5.jpg)
Our web identity is fragmented or distributed
Identity
Identity
Distributed Identity
Identity
![Page 6: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/6.jpg)
Identity consolidation
![Page 7: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/7.jpg)
< a href=“http://www.glennjones.net/” rel=“me”> http://www.glennj... </a>
The power of XFN rel=me
![Page 8: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/8.jpg)
![Page 9: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/9.jpg)
![Page 10: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/10.jpg)
A graph (map) of rel=me linkages
Found Site
Found Site
Found Site
Found Site
Found Site
Start SiteFound
Site
Found Site
![Page 11: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/11.jpg)
Start SiteOutward claim
Types of social graph linkages
Found Site
rel=me
Start SiteInward claimFound
Siterel=me
Start SiteReciprocal claimFound
Siterel=me
![Page 12: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/12.jpg)
Google Social Graph API
http://socialgraph.apis.google.com/otherme?
q=http://twitter.com/glennjones
![Page 13: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/13.jpg)
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": { } }, ...
![Page 14: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/14.jpg)
A JavaScript library that retrieves and aggregates profiles from across the web
![Page 15: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/15.jpg)
![Page 16: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/16.jpg)
10 identities - outward rel=me links20 identities - combined outward and inward rel=me links
5 additional identities – side effect profile parsing
![Page 17: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/17.jpg)
Profile parsing
![Page 18: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/18.jpg)
§
Embedded microformat hCard
![Page 19: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/19.jpg)
ufXtract microformat API
http://ufxtract.com/api/?url=http://slideshare.net/glennjones&format=hcard&output=json
![Page 20: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/20.jpg)
ufXtract microformat API
{ "microformats": { "vcard": [{ "fn": "Glenn Jones", "n": { "given-name": ["Glenn"], "family-name": ["Jones"] }, "adr": [{ "locality": "Brighton", "country-name": "United Kingdom" }], ...
![Page 21: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/21.jpg)
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": { } }, ...
![Page 22: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/22.jpg)
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} ", ...
![Page 23: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/23.jpg)
![Page 24: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/24.jpg)
![Page 25: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/25.jpg)
![Page 26: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/26.jpg)
![Page 27: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/27.jpg)
Auto fill forms
![Page 28: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/28.jpg)
![Page 29: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/29.jpg)
The most common details shared across social media sites – work personas
![Page 30: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/30.jpg)
The most common details shared across social media sites – social personas
![Page 31: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/31.jpg)
Parsing user generated content from discovered endpoints
![Page 32: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/32.jpg)
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" } ...
![Page 33: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/33.jpg)
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
![Page 34: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/34.jpg)
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
![Page 35: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/35.jpg)
Yahoo’s YQL API
![Page 36: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/36.jpg)
![Page 37: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/37.jpg)
Dealing with imposters androgue relationships
![Page 38: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/38.jpg)
Split personality
![Page 39: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/39.jpg)
Start without discovery
![Page 40: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/40.jpg)
Let the user decide
![Page 41: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/41.jpg)
Only use reciprocal or outward rel=me links only
![Page 42: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/42.jpg)
Only use outward or reciprocalrel=me links only
![Page 43: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/43.jpg)
Now it’s your turn to use identity discovery to build a little magic into your applications
![Page 44: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/44.jpg)
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/
![Page 45: Re-using social media data](https://reader036.vdocuments.mx/reader036/viewer/2022081602/55585290d8b42a993b8b4a3f/html5/thumbnails/45.jpg)
Creative Commons Attribution-Non-Commercial 2.0 UK: England & Wales Licence.
Copyright Glenn Jones 2009www.glennjones.net