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));
I would have submitted a patch with a variant of the above, but starting to *get the character*, you're probably way ahead of me in your uncommitted checkout. ;)
> 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));
> 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));
> I would have submitted a patch with a variant of the above, but > starting to *get the character*, you're probably way ahead of me in > your uncommitted checkout. ;)
>> 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));
On Sat, Feb 02, 2008 at 08:48:29PM -0700, Steve Ivy said:
> 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.
For what it's worth I just uploaded a Perl version of the API to CPAN.
It's almost exactly the same as the PHP one because, well, why not.
Pretty much PHP5, due to the use of tools like hKit and our need for advanced XML processing. PHP5 isn't everywhere yet, but by the time we get to a 1.0, hopefully it'll be available enough. Chris
On 2/3/08, Stephane Daury <stephane.da...@gmail.com> wrote:
> > I would have submitted a patch with a variant of the above, but > > starting to *get the character*, you're probably way ahead of me in > > your uncommitted checkout. ;)
> >> 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.
> > I would have submitted a patch with a variant of the above, but > > starting to *get the character*, you're probably way ahead of me in > > your uncommitted checkout. ;)
> >> 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.
>>> I would have submitted a patch with a variant of the above, but >>> starting to *get the character*, you're probably way ahead of me in >>> your uncommitted checkout. ;)
>>>> 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));