Title
body
 
xxx of yyy characters

Watch this Topic   watch
Messages 

1-7 of 7
Google Translation: Off

Close Topic

Reason

Message




 
Topic: Accessing friends for user
That api has been deprecated, although it was never meant to get you your friends list, it was for getting friend updates.
To get them now, please use opensocial endpoint instead:
/social/rest/activities/....

To get the list of your friends, there are couple of methods, one is to use "foaf" endpoint that still works, and the second - user opensocial "people" endpoint
Posted by Aleksey 
Feb 17
1:11 PM
is that fixed already?

because calling /feed/friends/{userId} for both xml or json I still get an empty response with 200 in a header.

( http://api.hi5.com/json/feed/friends/350993014?Hi5AuthToken=VALID_TOKEN )

how should I call this REST api to get my friends list?
Posted by Sniff Sniff
Feb 7
6:15 AM
I'm actually having the same problem with the rest API, here:
http://api.hi5.com/rest_.feed.friends.%7BuserId%7D.html

I just get a blank response:

HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

Content-Type: application/json;charset=utf-8

Content-Length: 0

Date: Thu, 06 Nov 2008 06:44:51 GMT


If I try in XML (rest), it's the same empty body. Would it be a server-side bug?
Posted by Erwan Loisant
Nov 5, 2008
10:48 PM
Thanks for the reply.

I am trying the Rest API directly. I have sent an email for the API key request. Hope i will get the api key soon.

Thanks
Posted by arvind hr
Feb 20, 2008
8:18 PM
in the above atom example 1000 is the userid
Posted by Lou Moore
Feb 18, 2008
6:18 PM
are you writing an opensocial app or just trying to access our rest API directly?

For the former, you use opensocial methods in your app , there's a good tutorial here:
http://code.google.com/apis/opensocial/articles/tutorial/tutorial-0.7.html


For the latter, you can access an atom feed like this:
http://api.hi5.com/rest/feed/friends/1000

You need to authenticate first, which is covered in a PHP example in this blog post:
http://www.hi5networks.com/developer/2007/10/hi5-platform-via-php-part-1.html

If you need an API key please send an email to api-request@hi5.com and we'll get you one.
Posted by Lou Moore
Feb 18, 2008
6:18 PM
Hi All,

I need to access all the friends for a user by sending the user id. I checked out the link http://api.hi5.com/soap_ns1_FriendApiService.html.
It is displaying empty page. Is there any method to retrieve friends ?
Posted by arvind hr
Feb 15, 2008
3:30 AM
1-7 of 7


Select Language