APIMethods/1.2.1/blogs.create

TracNav

blogs.create

Creates a blog.

params

  • <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).

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:

extra

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>