Friday, February 1st, 2008

Google Social Graph API Released

Category: Google, JSON, Social Networks

<p>Reposted from my blog

Would you like to be able to make a quick call to get a JSON response that ties together a social graph made up of resources available on the Web?

Social Graph API

Brad Fitzpatrick, Kevin Marks, and others at Google have released a new Social Graph API that does just that:

The new Social Graph API makes information about the public connections between people on the Web easily available and useful. You can make it easy for users to bring their existing social connections into a new website and as a result, users will spend less time rebuilding their social networks and more time giving your app the love it deserves.

Here’s how it works: we crawl the Web to find publicly declared relationships between people’s accounts, just like Google crawls the Web for links between pages. But instead of returning links to HTML documents, the API returns JSON data structures representing the social relationships we discovered from all the XFN and FOAF. When a user signs up for your app, you can use the API to remind them who they’ve said they’re friends with on other sites and ask them if they want to be friends on your new site.

This is exciting to me as:

I gave it a quick test drive, and when I say quick, I mean 5 minutes :)

I built a tiny JavaScript library that takes a base URL, and it graphs out the relationships using Canvas.

You get to call loadGraph(URL, { width: w, height: h }) and the graph will be injected away.

It needs to be nicely abstracted and isolated so you can call it willy-nilly, but it works.

Watch the introduction video:

Related Content:

Posted by Dion Almaer at 2:13 pm
3 Comments

+++--
3.4 rating from 27 votes

3 Comments »

Comments feed TrackBack URI

Use this API do a flash will be better. for personal use what ‘s funny of it.

Comment by linizou — February 1, 2008

Hmm, I hate to bring this up – privacy issues?

I may not want twitter or anyone else to read rel=”" or all this metadata about my life… Do people consider how spammers and frauders can easily get this valuable information about people. So now I will be receiving SPAM and fraud from people impersonating my ‘friends’ ?

This needs to be addressed before these API’s come out.

Comment by Jonathan Bond-Caron — February 2, 2008

I argree with the last comment about privacy

Comment by Aphrodisiac — July 31, 2008

Leave a comment

You must be logged in to post a comment.