Data-API

 

Methods

Retrieve the most recent www(Who What Where)s for the friends (1 www max per friend) of the loggedin user.

params

responsefields

This method supports the use of ha_responsefields. Acceptable values are a comma separated list of 0 or more of the following:
  • geolocation
  • commentscount
  • respectscount
  • viewscount
  • mobileurl
  • hasrespected

sort

Sorted by age. The most recently created items are returned first.

extra

  • 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 that retrieving something by id always succeeds (as long as the id is valid), even if the visibility settings of the object do not allow viewing it. If some user is not allowed to view something, he/she will not get the id from another call.
  • examples

    example 1

    url
    https://data.hyves-api.nl/?oauth_token=YXRfMjY0MTQzODg3X4l9-Wy5HuFMtU9tzoR1oiQ%3D&ha_method=wwws.getForFriends&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"?>
    •  <wwws_getForFriends_result>
    •   <www>
    •   <wwwid>00410550abb76e01943a62cacdfda2b575</wwwid>
    •   <emotion>ALL THE PHONE NUMBERS of your contacts are now on facebook! go to the top rightof the screen, click on ACCOUNT, click on EDIT FRIENDS, left side of screen and click CONTACTS. you will see all phone numbers from your phone (FB friends or not) are published that you have stored in your mobile phone. TO REMOVE, go to the right column, click on &quot;this page.&quot; please repost this on your status, so your friends can remove their numbers and thus prevent abuse if they do not want them published</emotion>
    •   <where/>
    •   <url>http://tjerkwolterink.hyves.nl/whowhatwhere/464828920/mXqh/</url>
    •   <userid>00fec2a528c91f235b7e8967377db76c88</userid>
    •   <visibility>superpublic</visibility>
    •   <created>1313060503</created>
    •   </www>
    •   <www>
    •   <wwwid>00704f496e786543a605b8f4be56363930</wwwid>
    •   <emotion>hyves pimpen gedaan:typing: </emotion>
    •   <where>Hyves Games</where>
    •   <url>http://abdulahi-hyves.hyves.nl/whowhatwhere/464812030/4LF3/</url>
    •   <userid>00c93cd208b50c9cdbee1ce381e78aeb38</userid>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <visibility>superpublic</visibility>
    •   <created>1313059154</created>
    •   </www>
    •   <info>
    •   <totalresults>7</totalresults>
    •   <totalpages>4</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>35</running_milliseconds>
    •   <serverinfo>web971_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </wwws_getForFriends_result>

    example 2

    url
    https://data.hyves-api.nl/?oauth_token=YXRfMjY0MTQzODg3X4l9-Wy5HuFMtU9tzoR1oiQ%3D&ha_method=wwws.getForFriends&ha_resultsperpage=2&ha_responsefields=geolocation%2Ccommentscount%2Crespectscount%2Cviewscount%2Cmobileurl%2Chasrespected&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

    result
    •  <?xml version="1.0" encoding="UTF-8"?>
    •  <wwws_getForFriends_result>
    •   <www>
    •   <wwwid>00410550abb76e01943a62cacdfda2b575</wwwid>
    •   <emotion>ALL THE PHONE NUMBERS of your contacts are now on facebook! go to the top rightof the screen, click on ACCOUNT, click on EDIT FRIENDS, left side of screen and click CONTACTS. you will see all phone numbers from your phone (FB friends or not) are published that you have stored in your mobile phone. TO REMOVE, go to the right column, click on &quot;this page.&quot; please repost this on your status, so your friends can remove their numbers and thus prevent abuse if they do not want them published</emotion>
    •   <where/>
    •   <url>http://tjerkwolterink.hyves.nl/whowhatwhere/464828920/mXqh/</url>
    •   <mobileurl>http://www.hyves.nl/mini/hyver/tjerkwolterink/whowhatwhere/464828920/mXqh/</mobileurl>
    •   <userid>00fec2a528c91f235b7e8967377db76c88</userid>
    •   <visibility>superpublic</visibility>
    •   <created>1313060503</created>
    •   <geolocation/>
    •   <commentscount>1</commentscount>
    •   <respectscount>0</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <viewscount/>
    •   </www>
    •   <www>
    •   <wwwid>00704f496e786543a605b8f4be56363930</wwwid>
    •   <emotion>hyves pimpen gedaan:typing: </emotion>
    •   <where>Hyves Games</where>
    •   <url>http://abdulahi-hyves.hyves.nl/whowhatwhere/464812030/4LF3/</url>
    •   <mobileurl>http://www.hyves.nl/mini/hyver/abdulahi-hyves/whowhatwhere/464812030/4LF3/</mobileurl>
    •   <userid>00c93cd208b50c9cdbee1ce381e78aeb38</userid>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <visibility>superpublic</visibility>
    •   <created>1313059154</created>
    •   <geolocation>
    •   <latitude>52.35997</latitude>
    •   <longitude>4.89813</longitude>
    •   <visibility>superpublic</visibility>
    •   </geolocation>
    •   <commentscount>0</commentscount>
    •   <respectscount>0</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <viewscount/>
    •   </www>
    •   <info>
    •   <totalresults>7</totalresults>
    •   <totalpages>4</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>50</running_milliseconds>
    •   <serverinfo>web1024_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </wwws_getForFriends_result>

    Categorieën

    • friends
    • wwws