xxx of yyy characters
Join Group

Hi5 Platform Development

Google Translation: Off

When Google Translation is on, topics and messages in this group will be machine-translated to your language by Google.

Messages


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
Feb 17
1:11 PM

Posted by Aleksey 

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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?
Feb 7
6:15 AM

Posted by Sniff Sniff

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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?
Nov 5, 2008
10:48 PM

Posted by Erwan Loisant

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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
Feb 20, 2008
8:18 PM

Posted by arvind hr

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
in the above atom example 1000 is the userid
Feb 18, 2008
6:18 PM

Posted by Lou Moore

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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.
Feb 18, 2008
6:18 PM

Posted by Lou Moore

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  
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 ?
Feb 15, 2008
3:30 AM

Posted by arvind hr

Note: To add an image or link in your message, use <img src="http://www.hi5.com/example.jpg"> or <a href="http://www.hi5.com/example.html">Text </a>

 
 

  

Title
body
 

Purchase additional coins

You need an additional: hi5 Coins hi5 Coins

Get Coins No Thanks