Hyves - Always in touch with your friends

Data-API

Methods

Retrieve all threads of a hub.

  • Added: Jun 17, 2009
  • Paginated

params

  • hubid --- A single hubid.
    • Required

responsefields

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

sort

Sorted most recent addition. The item with the most recent addition is returned first.

extra

  • This function may return more information if you 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/?hubid=00c84cdcb460087b804059d244cb79df31&ha_method=threads.getByHub&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"?>
    •  <threads_getByHub_result>
    •   <thread>
    •   <threadid>006af11de9eda7476e2454a4cc7ec2fb0c</threadid>
    •   <title>wat vind jij het leukste spel bij Hyves Games?</title>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <userid>00911b320411e0dfd2bff2f9717421dc4c</userid>
    •   <last_commentcreated>1310798168</last_commentcreated>
    •   <created>1289044244</created>
    •   </thread>
    •   <thread>
    •   <threadid>0035824e3215c28a96c84e61cd7d46e2b3</threadid>
    •   <title>Hyves Games klachten lijn.</title>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <userid>00911b320411e0dfd2bff2f9717421dc4c</userid>
    •   <last_commentcreated>1292097153</last_commentcreated>
    •   <created>1292097153</created>
    •   </thread>
    •   <info>
    •   <totalresults>3</totalresults>
    •   <totalpages>2</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>17</running_milliseconds>
    •   <serverinfo>web981_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </threads_getByHub_result>

    example 2

    url
    https://data.hyves-api.nl/?hubid=00c84cdcb460087b804059d244cb79df31&ha_method=threads.getByHub&ha_resultsperpage=2&ha_responsefields=commentscount&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

    result
    •  <?xml version="1.0" encoding="UTF-8"?>
    •  <threads_getByHub_result>
    •   <thread>
    •   <threadid>006af11de9eda7476e2454a4cc7ec2fb0c</threadid>
    •   <title>wat vind jij het leukste spel bij Hyves Games?</title>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <userid>00911b320411e0dfd2bff2f9717421dc4c</userid>
    •   <last_commentcreated>1310798168</last_commentcreated>
    •   <created>1289044244</created>
    •   <commentscount>4</commentscount>
    •   </thread>
    •   <thread>
    •   <threadid>0035824e3215c28a96c84e61cd7d46e2b3</threadid>
    •   <title>Hyves Games klachten lijn.</title>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <userid>00911b320411e0dfd2bff2f9717421dc4c</userid>
    •   <last_commentcreated>1292097153</last_commentcreated>
    •   <created>1292097153</created>
    •   <commentscount>1</commentscount>
    •   </thread>
    •   <info>
    •   <totalresults>3</totalresults>
    •   <totalpages>2</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>17</running_milliseconds>
    •   <serverinfo>web933_stable_93882_HPHP</serverinfo>
    •   </info>
    •  </threads_getByHub_result>

    returnvalues

    Categories

    • forums
    • hubs

    © 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

    Aanmelden