Hyves - Always in touch with your friends

Data-API

Methods

Retrieve the most recent blogs of a hub.

  • Added: May 28, 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
  • respectscount
  • tags
  • geolocation
  • viewscount
  • hasrespected

sort

Sorted by age. The most recently created items are 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&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=blogs.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"?>
    •  <blogs_getByHub_result>
    •   <blog>
    •   <blogid>00dec18de65ec10683a690e75963142232</blogid>
    •   <title>Blije boer</title>
    •   <body>In de afgelopen maanden zoveel gehoord over Happy harvest, de één moet oogsten, de ander melken. Men heeft het er maar druk mee. Reden voor mij om ook maar eens op een vrije zaterdagavond boer te worden.
    •   In hoog tempo alle missies doorlopen. Wel flauw dat de missie met de gril onhaalbaar is. Ik had alles klaarstaan, de haan met dierversneller gemest, maar de missie toch niet gehaald.
    •   Nu een goeie week later op level 15 beland. Het boeren gaat me aardig af. Inmiddels ook kennis gemaakt met leuke buren, 21 tot nu toe. Dankzij hen ook aardig wat kistjes kunnen openen. Zit voorlopig goed in de tomaten, erwten en uien.
    •   Leuk spel!</body>
    •   <userid>00a769f81cd4076d5cd157715065de55e2</userid>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <url>http://hyves20games.hyves.nl/blog/45614208/Blije_boer/m0P6/</url>
    •   <visibility>superpublic</visibility>
    •   <created>1311011549</created>
    •   </blog>
    •   <blog>
    •   <blogid>009d7e9980a62ce76d1a7dfbad821bc95a</blogid>
    •   <title>Bubble Machine Spots</title>
    •   <body>Hallo allemaal,
    •   Er is nu ook een Bubble Machine Spots. Kijk op www.bubble10machine.hyves.nl en word daar ook eventueel lid van.</body>
    •   <userid>00911b320411e0dfd2bff2f9717421dc4c</userid>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <url>http://hyves20games.hyves.nl/blog/39044588/Bubble_Machine_Spots/pcIB/</url>
    •   <visibility>hub</visibility>
    •   <created>1289130273</created>
    •   </blog>
    •   <info>
    •   <totalresults>2</totalresults>
    •   <totalpages>1</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>22</running_milliseconds>
    •   <serverinfo>web1057_stable_93882_HPHP</serverinfo>
    •   </info>
    •   </blogs_getByHub_result>

    example 2

    url
    https://data.hyves-api.nl/?hubid=00c84cdcb460087b804059d244cb79df31&oauth_token=YXRfMjY0MTQzOTIwX57RQCWOUSSIzDytrjb75Ro%3D&ha_method=blogs.getByHub&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_getByHub_result>
    •   <blog>
    •   <blogid>00dec18de65ec10683a690e75963142232</blogid>
    •   <title>Blije boer</title>
    •   <body>In de afgelopen maanden zoveel gehoord over Happy harvest, de één moet oogsten, de ander melken. Men heeft het er maar druk mee. Reden voor mij om ook maar eens op een vrije zaterdagavond boer te worden.
    •   In hoog tempo alle missies doorlopen. Wel flauw dat de missie met de gril onhaalbaar is. Ik had alles klaarstaan, de haan met dierversneller gemest, maar de missie toch niet gehaald.
    •   Nu een goeie week later op level 15 beland. Het boeren gaat me aardig af. Inmiddels ook kennis gemaakt met leuke buren, 21 tot nu toe. Dankzij hen ook aardig wat kistjes kunnen openen. Zit voorlopig goed in de tomaten, erwten en uien.
    •   Leuk spel!</body>
    •   <userid>00a769f81cd4076d5cd157715065de55e2</userid>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <url>http://hyves20games.hyves.nl/blog/45614208/Blije_boer/m0P6/</url>
    •   <visibility>superpublic</visibility>
    •   <created>1311011549</created>
    •   <commentscount>2</commentscount>
    •   <respectscount>2</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <tags/>
    •   <viewscount/>
    •   <geolocation/>
    •   </blog>
    •   <blog>
    •   <blogid>009d7e9980a62ce76d1a7dfbad821bc95a</blogid>
    •   <title>Bubble Machine Spots</title>
    •   <body>Hallo allemaal,
    •   Er is nu ook een Bubble Machine Spots. Kijk op www.bubble10machine.hyves.nl en word daar ook eventueel lid van.</body>
    •   <userid>00911b320411e0dfd2bff2f9717421dc4c</userid>
    •   <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
    •   <url>http://hyves20games.hyves.nl/blog/39044588/Bubble_Machine_Spots/pcIB/</url>
    •   <visibility>hub</visibility>
    •   <created>1289130273</created>
    •   <commentscount>0</commentscount>
    •   <respectscount>0</respectscount>
    •   <hasrespected>false</hasrespected>
    •   <tags/>
    •   <viewscount/>
    •   <geolocation/>
    •   </blog>
    •   <info>
    •   <totalresults>2</totalresults>
    •   <totalpages>1</totalpages>
    •   <resultsperpage>2</resultsperpage>
    •   <currentpage>1</currentpage>
    •   <secure_connection>true</secure_connection>
    •   <running_milliseconds>31</running_milliseconds>
    •   <serverinfo>web1015_stable_93882_HPHP</serverinfo>
    •   </info>
    •   </blogs_getByHub_result>

    Categories

    • blogs
    • hubs

    © 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

    Aanmelden