Hyves - Always in touch with your friends

Data-API

Methods

Retrieve the most recent blogs for the friends of the loggedin user.

  • Added: Apr 17, 2008
  • Paginated

params

responsefields

This method supports the use of ha_responsefields. Acceptable values are a comma separated list of 0 or more of the following:
  • commentscount
  • respectscount
  • tags
  • geolocation
  • viewscount
  • 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=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=blogs.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"?>
    •  <blogs_getForFriends_result>
    •   <blog>
    •   <blogid>003f7f8e2ab7c639f0335bb8a73a457d14</blogid>
    •   <title>This is the blog title</title>
    •   <body>This is the blog body</body>
    •   <userid>0067bd7f5a1011fad35dac66a9032492b7</userid>
    •   <url>http://jeroentuitjer.hyves.nl/blog/45834834/This_is_the_blog_title/49lL/</url>
    •   <visibility>friend</visibility>
    •   <created>1312199197</created>
    •   </blog>
    •   <blog>
    •   <blogid>009518b4da3ba0040aa4a9924cee07c3f0</blogid>
    •   <title>Je moeder</title>
    •   <body>We hebben een loting gedaan via lootjestrekken.nl. De uitslag is bekend: [url=http://www.lootjestrekken.nl/l/34003f9acce]http://www.lootjestrekken.nl/l/34003f9acce[/url]</body>
    •   <userid>0090e0f6f743a6bf50ac0abea24cd99722</userid>
    •   <url>http://elektronaut.hyves.nl/blog/43372999/Je_moeder/mUUT/</url>
    •   <visibility>friend</visibility>
    •   <created>1302018062</created>
    •   </blog>
    •   <info>
    •   <totalresults>5</totalresults>
    •   <totalpages>3</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>26</running_milliseconds>
    •   <serverinfo>web1172_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </blogs_getForFriends_result>

    example 2

    url
    https://data.hyves-api.nl/?oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=blogs.getForFriends&ha_resultsperpage=2&ha_responsefields=commentscount%2Crespectscount%2Ctags%2Cgeolocation%2Cviewscount%2Chasrespected&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

    result
    •  <?xml version="1.0" encoding="UTF-8"?>
    •  <blogs_getForFriends_result>
    •   <blog>
    •   <blogid>003f7f8e2ab7c639f0335bb8a73a457d14</blogid>
    •   <title>This is the blog title</title>
    •   <body>This is the blog body</body>
    •   <userid>0067bd7f5a1011fad35dac66a9032492b7</userid>
    •   <url>http://jeroentuitjer.hyves.nl/blog/45834834/This_is_the_blog_title/49lL/</url>
    •   <visibility>friend</visibility>
    •   <created>1312199197</created>
    •   <commentscount>0</commentscount>
    •   <respectscount>0</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <tags/>
    •   <viewscount/>
    •   <geolocation/>
    •   </blog>
    •   <blog>
    •   <blogid>009518b4da3ba0040aa4a9924cee07c3f0</blogid>
    •   <title>Je moeder</title>
    •   <body>We hebben een loting gedaan via lootjestrekken.nl. De uitslag is bekend: [url=http://www.lootjestrekken.nl/l/34003f9acce]http://www.lootjestrekken.nl/l/34003f9acce[/url]</body>
    •   <userid>0090e0f6f743a6bf50ac0abea24cd99722</userid>
    •   <url>http://elektronaut.hyves.nl/blog/43372999/Je_moeder/mUUT/</url>
    •   <visibility>friend</visibility>
    •   <created>1302018062</created>
    •   <commentscount>0</commentscount>
    •   <respectscount>0</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <tags/>
    •   <viewscount/>
    •   <geolocation/>
    •   </blog>
    •   <info>
    •   <totalresults>5</totalresults>
    •   <totalpages>3</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>42</running_milliseconds>
    •   <serverinfo>web1173_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </blogs_getForFriends_result>

    Categories

    • blogs

    © 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

    Aanmelden