Retrieve friends by loggedin user with different sort-options.
- Added: Oct 30, 2008
- Paginated
params
- sorttype --- The sorttype.
- Required
- Possible values:
- alphabetically --- Alphabetically sorted.
- lastlogin --- Sort by last login.
responsefields
This method supports the use of ha_responsefields. Acceptable values are a comma separated list of 0 or more of the following:
- cityname
- countryname
- profilepicture
- whitespaces
- onmymind
- scrapscount
- testimonialscount
- respectscount
- fancylayouttag
- profilevisible
- scrapsvisible
- commentscount
- tags
- geolocation
- viewscount
- usertypes
- relationtype
- aboutme
- mobileurl
- organdonor
- hasrespected
- isfriend
- buzzvisible
sort
Custom sort, see description.examples
example 1
urlhttps://data.hyves-api.nl/?sorttype=alphabetically&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=users.getFriendsByLoggedinSorted&ha_resultsperpage=2&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT
result- <?xml version="1.0" encoding="UTF-8"?>
- <users_getFriendsByLoggedinSorted_result>
- <user>
- <userid>00fb9da993c80cd548aab9fceffb0ca2ff</userid>
- <displayname>Charly</displayname>
- <nickname>Charly</nickname>
- <firstname>Charly</firstname>
- <lastname>The Unicorn</lastname>
- <gender>female</gender>
- <birthday>
- <year/>
- <month>8</month>
- <day>9</day>
- <age/>
- </birthday>
- <friendscount>395</friendscount>
- <url>http://charly009.hyves.nl/</url>
- <mediaid>00dfe6271f170f2611d8312ed1467d158a</mediaid>
- <countryid>00da0d7e3a352207e824bf85791df6cbcb</countryid>
- <cityid>00fa27d7cd29fc5966ae743fd42923c84f</cityid>
- <created>1114034400</created>
- <languagelocale>nl_NL</languagelocale>
- </user>
- <user>
- <userid>002c16b62877cf27484544fd0bc2c3dec9</userid>
- <displayname>Homoapi</displayname>
- <nickname/>
- <firstname>Homoapi</firstname>
- <lastname>Aap</lastname>
- <gender>male</gender>
- <birthday>
- <year>2010</year>
- <month>1</month>
- <day>1</day>
- <age>1</age>
- </birthday>
- <friendscount>3</friendscount>
- <url>http://homoapi.hyves.nl/</url>
- <mediaid>00becaa249d21837ce7ca07c9fc6e21e80</mediaid>
- <countryid>00da0d7e3a352207e824bf85791df6cbcb</countryid>
- <cityid/>
- <created>1293577200</created>
- <languagelocale>nl_NL</languagelocale>
- </user>
- <info>
- <totalresults>6</totalresults>
- <totalpages>3</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>19</running_milliseconds>
- <serverinfo>web1115_stable_93882_HPHP</serverinfo>
- </info>
- </users_getFriendsByLoggedinSorted_result>
example 2
urlhttps://data.hyves-api.nl/?sorttype=alphabetically&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=users.getFriendsByLoggedinSorted&ha_resultsperpage=2&ha_responsefields=cityname%2Ccountryname%2Cprofilepicture%2Cwhitespaces%2Conmymind%2Cscrapscount%2Ctestimonialscount%2Crespectscount%2Cfancylayouttag%2Cprofilevisible%2Cscrapsvisible%2Ccommentscount%2Ctags%2Cgeolocation%2Cviewscount%2Cusertypes%2Crelationtype%2Caboutme%2Cmobileurl%2Corgandonor%2Chasrespected%2Cisfriend%2Cbuzzvisible&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT
resultreturnvalues
- aboutme,
- age,
- birthday,
- buzzvisible,
- cityid,
- cityname,
- commentscount,
- countryid,
- countryname,
- created,
- currentpage,
- day,
- description,
- displayname,
- fancylayouttag,
- firstname,
- friendscount,
- gender,
- geolocation,
- hasrespected,
- height,
- icon_extralarge,
- icon_large,
- icon_medium,
- icon_small,
- image,
- image_fullscreen,
- info,
- isfriend,
- languagelocale,
- lastname,
- mediaid,
- mediatype,
- mobileurl,
- month,
- nickname,
- onmymind,
- organdonor,
- profilepicture,
- profilevisible,
- relationtype,
- respectscount,
- resultsperpage,
- running_milliseconds,
- scrapscount,
- scrapsvisible,
- secure_connection,
- serverinfo,
- square_extralarge,
- square_large,
- src,
- tags,
- testimonialscount,
- title,
- totalpages,
- totalresults,
- url,
- user,
- userid,
- usertype,
- usertypes,
- viewscount,
- whitespace,
- whitespacekey,
- whitespaces,
- whitespacevalue,
- width,
- year