Search for friends based on basic queries (keywords like city, name).
params
- searchterms --- The searchterms.
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
Sorted by number of friends. The user with the most friends is returned first. In case of equal number of friends, order is undefined (but always the same).examples
example 1
urlhttps://data.hyves-api.nl/?searchterms=haarlem&oauth_token=YXRfMjY0MTQzODg3X4l9-Wy5HuFMtU9tzoR1oiQ%3D&ha_method=users.searchInFriends&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_searchInFriends_result>
- <info>
- <totalresults>0</totalresults>
- <totalpages>1</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>90</running_milliseconds>
- <serverinfo>web1182_stable_93882_HPHP</serverinfo>
- </info>
- </users_searchInFriends_result>
example 2
urlhttps://data.hyves-api.nl/?searchterms=haarlem&oauth_token=YXRfMjY0MTQzODg3X4l9-Wy5HuFMtU9tzoR1oiQ%3D&ha_method=users.searchInFriends&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
result- <?xml version="1.0" encoding="UTF-8"?>
- <users_searchInFriends_result>
- <info>
- <totalresults>0</totalresults>
- <totalpages>1</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>87</running_milliseconds>
- <serverinfo>web1137_stable_93882_HPHP</serverinfo>
- </info>
- </users_searchInFriends_result>