TracNav
TracNav
Methods
Version 1.2.1
- albums.addMedia
- albums.create
- albums.get
- albums.getByGroup
- albums.getByHangout
- albums.getByUser
- albums.removeMedia
- auth.accesstoken
- auth.requesttoken
- auth.revoke
- auth.revokeAll
- auth.revokeSelf
- blogs.create
- blogs.createRespect
- blogs.get
- blogs.getByGroup
- blogs.getByHangout
- blogs.getByTag
- blogs.getByUser
- blogs.getComments
- blogs.getForFriends
- blogs.getPublic
- blogs.getRespects
- chat.getLoginToken
- cities.get
- countries.get
- events.addPresence
- events.get
- events.getByGroup
- events.getByHangout
- events.getByLoggedin
- events.getByUserPresent
- events.getPresence
- fancylayout.parse
- friends.get
- friends.getDistance
- friends.getIncomingInvitations
- friends.getOutgoingInvitations
- gadgets.create
- gadgets.createRespect
- gadgets.get
- gadgets.getByGroup
- gadgets.getByHangout
- gadgets.getByUser
- gadgets.getComments
- gadgets.getRespects
- groups.get
- groups.getByShortname
- groups.getByUser
- groups.getScraps
- groups.search
- hangouts.get
- hangouts.getByShortname
- hangouts.getByUser
- hangouts.getScraps
- hangouts.search
- listeners.create
- listeners.delete
- listeners.get
- listeners.getAll
- listeners.getByType
- media.addTag
- media.createRespect
- media.get
- media.getByAlbum
- media.getByLoggedin
- media.getByTag
- media.getComments
- media.getPublic
- media.getRespects
- media.getUploadToken
- media.updateGeolocation
- pings.get
- pings.getByTargetUser
- pings.getByUser
- privatespots.create
- privatespots.get
- privatespots.getByLoggedin
- regions.get
- tips.create
- tips.createRespect
- tips.get
- tips.getByHangout
- tips.getByUser
- tips.getCategories
- tips.getComments
- tips.getForFriends
- tips.getRespects
- users.createRespect
- users.get
- users.getByFriendLastlogin
- users.getByGroupLastlogin
- users.getByHangoutLastlogin
- users.getByUsername
- users.getFriendsByLoggedinSorted
- users.getLoggedin
- users.getRespects
- users.getScraps
- users.getSmileyCategories
- users.getSmileys
- users.getTestimonials
- users.search
- users.searchInFriends
- wwws.create
- wwws.createRespect
- wwws.get
- wwws.getByHangout
- wwws.getByUser
- wwws.getComments
- wwws.getForFriends
- wwws.getRespects
blogs.create
Creates a blog.
- Added: Apr 17, 2008
- Not <a href='http://hyves-developers.nl/documentation/data-api/pagination'>Paginated</a>
params
- <a href='http://hyves-developers.nl/returnvalues#title'>title</a> --- Title of the blog.
- Required
- <a href='http://hyves-developers.nl/returnvalues#body'>body</a> --- Body of the blog.
- Required
- <a href='http://hyves-developers.nl/returnvalues#visibility'>visibility</a> --- The visibility of the blog.
- Required
- Possible values:
- friend --- visible only to the friends of the user.
- friends_of_friends --- visible only to the friends of the user and their friends.
- public --- visible only to all logged in hyvers.
- superpublic --- visible only to all (whether logged in or not).
- default --- default visibility, as presented to Hyver on website (note: may involve settings, not a static result).
- <a href='http://hyves-developers.nl/returnvalues#latitude'>latitude</a> ---
- Optional
- <a href='http://hyves-developers.nl/returnvalues#longitude'>longitude</a> ---
- Optional
responsefields
This method supports the use of <a href='http://hyves-developers.nl/documentation/data-api/global-ha-parameters'>ha_responsefields</a>. Acceptable values are a comma separated list of 0 or more of the following:
- <a href='http://hyves-developers.nl/returnvalues##commentscount'>commentscount</a>
- <a href='http://hyves-developers.nl/returnvalues##respectscount'>respectscount</a>
- <a href='http://hyves-developers.nl/returnvalues##tags'>tags</a>
- <a href='http://hyves-developers.nl/returnvalues##geolocation'>geolocation</a>
- <a href='http://hyves-developers.nl/returnvalues##viewscount'>viewscount</a>
extra
- For this function to work, you need to supply a valid access token to oauth_token.
- For more information on oAuth, see <a href='http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/'>http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/</a>.
- Please provide some kind of user feedback when an item is created.
examples
example 1
url
http://data.hyves-api.nl/?oauth_token=YXRfMTc3OTgyMDcwX3-nXMPpzsVP6qFtqGWjt_M%3D&title=I%20like%20to%20be%20a%20Pan.&body=Being%20a%20Pan%20is%20good%20for%20your%20health.&visibility=friends_of_friends&ha_method=blogs.create&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117701&oauth_nonce=757816_569&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=ywnr4CzyQbLpfwjFjUKbgpoJl3w%3D
result
<?xml version="1.0" encoding="UTF-8"?> <blogs_create_result> <blog> <blogid>3cb5f1507f2adf3a</blogid> <title>I like to be a Pan.</title> <body>Being a Pan is good for your health.</body> <userid>c80dc62fc4bccc64</userid> <url>http://panapi.hyves.nl/blog/36689115/I_like_to_be_a_Pan/5EeO/</url> <visibility>friends_of_friends</visibility> <created>1282117701</created> </blog> <info> <timestamp_difference>0</timestamp_difference> <running_milliseconds>162</running_milliseconds> <secure_connection>false</secure_connection> </info> </blogs_create_result>
example 2
url
http://data.hyves-api.nl/?oauth_token=YXRfMTc3OTgyMDcwX3-nXMPpzsVP6qFtqGWjt_M%3D&title=I%20like%20to%20be%20a%20Pan.&body=Being%20a%20Pan%20is%20good%20for%20your%20health.&visibility=friends_of_friends&ha_method=blogs.create&ha_responsefields=commentscount%2Crespectscount%2Ctags%2Cgeolocation%2Cviewscount&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117701&oauth_nonce=700532_570&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=CiAs7SjemmqSZrpbDdLYrcx4qZ8%3D
result
<?xml version="1.0" encoding="UTF-8"?> <blogs_create_result> <blog> <blogid>266e6d890b4f3211</blogid> <title>I like to be a Pan.</title> <body>Being a Pan is good for your health.</body> <userid>c80dc62fc4bccc64</userid> <url>http://panapi.hyves.nl/blog/36689116/I_like_to_be_a_Pan/mcFC/</url> <visibility>friends_of_friends</visibility> <created>1282117701</created> <commentscount>0</commentscount> <respectscount>0</respectscount> <tags/> <viewscount/> <geolocation/> </blog> <info> <timestamp_difference>0</timestamp_difference> <running_milliseconds>150</running_milliseconds> <secure_connection>false</secure_connection> </info> </blogs_create_result>
returnvalues
<a href='http://hyves-developers.nl/returnvalues#blog'>blog</a>, <a href='http://hyves-developers.nl/returnvalues#blogid'>blogid</a>, <a href='http://hyves-developers.nl/returnvalues#body'>body</a>, <a href='http://hyves-developers.nl/returnvalues#commentscount'>commentscount</a>, <a href='http://hyves-developers.nl/returnvalues#created'>created</a>, <a href='http://hyves-developers.nl/returnvalues#geolocation'>geolocation</a>, <a href='http://hyves-developers.nl/returnvalues#info'>info</a>, <a href='http://hyves-developers.nl/returnvalues#respectscount'>respectscount</a>, <a href='http://hyves-developers.nl/returnvalues#running_milliseconds'>running_milliseconds</a>, <a href='http://hyves-developers.nl/returnvalues#secure_connection'>secure_connection</a>, <a href='http://hyves-developers.nl/returnvalues#tags'>tags</a>, <a href='http://hyves-developers.nl/returnvalues#timestamp_difference'>timestamp_difference</a>, <a href='http://hyves-developers.nl/returnvalues#title'>title</a>, <a href='http://hyves-developers.nl/returnvalues#url'>url</a>, <a href='http://hyves-developers.nl/returnvalues#userid'>userid</a>, <a href='http://hyves-developers.nl/returnvalues#viewscount'>viewscount</a>, <a href='http://hyves-developers.nl/returnvalues#visibility'>visibility</a>
