Hyves - Always in touch with your friends

Data-API

Methods

Create a gadget.

params

  • title --- The title of the gadget.
    • Required
  • html --- The html of the gadget.
    • Required
  • visibility --- The visibility of the gadget.
    • 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).
  • maycopy --- The gadget may be copied by other Hyvers.
    • Required
    • Possible values:
      • true --- true
      • false --- false
  • onprofilepage
    • Optional

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
  • fancylayouttag
  • viewscount
  • hasrespected

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/.
  • Please provide some kind of user feedback when an item is created.
    * Note: for security reasons, we only allow a certain set of gadgets. If you supply a gadget that is not allowed, an error number 110 is thrown. We realise that this is not yet perfect, and we'll probably give the error its own errornumber in the next version.
  • examples

    Categories

    • gadgets

    © 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

    Aanmelden