Retrieve the most recent tips for the friends of the loggedin user.
- Added: Apr 17, 2008
- Paginated
params
- tipcategoryid --- Filter selecting tips by tipcategoryid.
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
- 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
urlhttps://data.hyves-api.nl/?oauth_token=YXRfMjY0MTQzOTE5X-LlKBiT1yEXKkS9PldypUM%3D&ha_method=tips.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"?>
- <tips_getForFriends_result>
- <tip>
- <tipid>00d7d08dc408747d95ec05cd63833739a4</tipid>
- <tipcategoryid>00be7fa4a7eb16282922bb1236a139cfe3</tipcategoryid>
- <title>Monkey-Forest.com</title>
- <body>Great website about monkeys!
- http://www.monkey-forest.com/</body>
- <rating>5</rating>
- <userid>00086769082d53ad21952679a7238766db</userid>
- <url>http://panapi.hyves.nl/tips/4776384/ioRy/</url>
- <created>1313063048</created>
- </tip>
- <tip>
- <tipid>002055b1ac950316a2cc93968a45642e78</tipid>
- <tipcategoryid>00be7fa4a7eb16282922bb1236a139cfe3</tipcategoryid>
- <title>Monkey-Forest.com</title>
- <body>Great website about monkeys!
- http://www.monkey-forest.com/</body>
- <rating>5</rating>
- <userid>00086769082d53ad21952679a7238766db</userid>
- <url>http://panapi.hyves.nl/tips/4776383/BnmK/</url>
- <created>1313063048</created>
- </tip>
- <info>
- <totalresults>76</totalresults>
- <totalpages>38</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>22</running_milliseconds>
- <serverinfo>web1122_stable_93882_HPHP</serverinfo>
- </info>
- </tips_getForFriends_result>
example 2
urlhttps://data.hyves-api.nl/?oauth_token=YXRfMjY0MTQzOTE5X-LlKBiT1yEXKkS9PldypUM%3D&ha_method=tips.getForFriends&ha_resultsperpage=2&ha_responsefields=commentscount%2Crespectscount%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"?>
- <tips_getForFriends_result>
- <tip>
- <tipid>00d7d08dc408747d95ec05cd63833739a4</tipid>
- <tipcategoryid>00be7fa4a7eb16282922bb1236a139cfe3</tipcategoryid>
- <title>Monkey-Forest.com</title>
- <body>Great website about monkeys!
- http://www.monkey-forest.com/</body>
- <rating>5</rating>
- <userid>00086769082d53ad21952679a7238766db</userid>
- <url>http://panapi.hyves.nl/tips/4776384/ioRy/</url>
- <created>1313063048</created>
- <commentscount>0</commentscount>
- <respectscount>0</respectscount>
- <hasrespected>false</hasrespected>
- <viewscount/>
- </tip>
- <tip>
- <tipid>002055b1ac950316a2cc93968a45642e78</tipid>
- <tipcategoryid>00be7fa4a7eb16282922bb1236a139cfe3</tipcategoryid>
- <title>Monkey-Forest.com</title>
- <body>Great website about monkeys!
- http://www.monkey-forest.com/</body>
- <rating>5</rating>
- <userid>00086769082d53ad21952679a7238766db</userid>
- <url>http://panapi.hyves.nl/tips/4776383/BnmK/</url>
- <created>1313063048</created>
- <commentscount>0</commentscount>
- <respectscount>0</respectscount>
- <hasrespected>false</hasrespected>
- <viewscount/>
- </tip>
- <info>
- <totalresults>76</totalresults>
- <totalpages>38</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>44</running_milliseconds>
- <serverinfo>web1164_stable_93882_HPHP</serverinfo>
- </info>
- </tips_getForFriends_result>
returnvalues
- body,
- commentscount,
- created,
- currentpage,
- hasrespected,
- info,
- rating,
- respectscount,
- resultsperpage,
- running_milliseconds,
- secure_connection,
- serverinfo,
- tip,
- tipcategoryid,
- tipid,
- title,
- totalpages,
- totalresults,
- url,
- userid,
- viewscount