Retrieve the friends of user the supplied access token is for.
extra
* At the moment it is not possible to retrieve the friends for an arbitrary user.
For this function to work, you need to supply a valid access token to oauth_token.
For more information on oAuth, see http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/.
Note: The amount of friends that you get in the result on a member who has the usertype of a ‘artiest/politicus/sporter/acteur/presentator/auteur/reality’(Bekenede Hyver (BH’er)) could differ from the amount in ‘friendscount’. This is because they have a status of a ‘one-wayer’. So the amount of friends that such a user has is the same that user had before he/she became a ‘one-wayer’. So this is probably not the same amount of friends that’s in the ‘friendscount’ of the result. To understand why this is, you will have to take the following into account (with a ‘one-way’ account): A normal account has got the following friends relationship: Hyver A <—> Hyver B This relationship goes both ways. With ‘one-wayers’ a friend relationship looks as the following: Artist A <- Hyver B. As you can see the artist has no relation to Hyver B.examples
example 1
urlhttps://data.hyves-api.nl/?oauth_token=YXRfMjY0MTQzODg2Xyujb-vAc-P7PiCWfRl41Ec%3D&ha_method=friends.get&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT
result- <?xml version="1.0" encoding="UTF-8"?>
- <friends_get_result>
- <userid>0067bd7f5a1011fad35dac66a9032492b7</userid>
- <userid>00086769082d53ad21952679a7238766db</userid>
- <userid>008eef004422be85ab5b58414c5a8b7918</userid>
- <info>
- <secure_connection>true</secure_connection>
- <running_milliseconds>116</running_milliseconds>
- <serverinfo>web1030_stable_93882_HPHP</serverinfo>
- </info>
- </friends_get_result>