3 messages in com.googlegroups.social-graph-apiFwd: Social Graph api client in diso ...
FromSent OnAttachments
Brad Fitzpatrick02 Feb 2008 19:58 
victorc03 Feb 2008 06:59 
Arne Roomann-Kurrik (Google)03 Feb 2008 17:52 
Subject:Fwd: Social Graph api client in diso repository
From:Brad Fitzpatrick (brad@google.com)
Date:02/02/2008 07:58:08 PM
List:com.googlegroups.social-graph-api

FYI: PHP library for the Social Graph API....

---------- Forwarded message ---------- From: Steve Ivy <stev@gmail.com> Date: Feb 2, 2008 7:48 PM Subject: Social Graph api client in diso repository To: diso-project <diso@googlegroups.com>, brad@google.com, tan@tantek.com, soci@googlegroups.com

Hi all,

As you know, Google just released their social graph API (http://code.google.com/apis/socialgraph/). I wrote a quick and dirty client in PHP that cosumes the JSON and returns it in a data structure. There's more work to be done, particularly in making the fetch code work with either fopen or curl.

$sga = new SocialGraphApi(Array('edgesout'=>0,'edgesin'=>0,'followme'=>'1', 'sgn'=>0));

$mydata = $sga->get('http://redmonk.net' <http://redmonk.net%27>);

echo "<pre>" . print_r($mydata,true) . "</pre>";

Find the code at:

http://diso.googlecode.com/svn/php/sgapi/