Hyves - Always in touch with your friends

Data-API

Methods

Retrieve an access token. The oauth_token parameter should contain an authorized request token. The access token will be valid for the methods the request token was requested for.

params

  • strict_oauth_spec_response --- If true, the response will be in an urlencoded body, regardless of the ha_format and ha_callback parameters. Present for compatibility with the oAuth specification.
    • Optional
    • Default: false
    • Possible values:
      • true --- true
      • false --- false
  • oauth_verifier
    • Optional

examples

example 1

url
https://data.hyves-api.nl/?oauth_token=cnRfNl8IAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABfMTMxMzA2MzE3NF83ODUzMTQ1NV8FWYv3Pghesm99Gj15Y1JS&ha_method=auth.accesstoken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

result
  •  <?xml version="1.0" encoding="UTF-8"?>
  •  <auth_accesstoken_result>
  •   <oauth_token>YXRfMjY0MTQyMDQ5X6iBB6SBaRIOSpYjMChCMwM=</oauth_token>
  •   <oauth_token_secret>fTEnbYZ8wJXqCPqZAneDMg==</oauth_token_secret>
  •   <userid>00086769082d53ad21952679a7238766db</userid>
  •   <methods>users.getByUsername,friends.get</methods>
  •   <expiredate>1313084774</expiredate>
  •   <info>
  •   <secure_connection>true</secure_connection>
  •   <running_milliseconds>31</running_milliseconds>
  •   <serverinfo>web959_stable_93882_HPHP</serverinfo>
  •   </info>
  •  </auth_accesstoken_result>

example 2

url
https://data.hyves-api.nl/?strict_oauth_spec_response=true&oauth_token=cnRfNl8IAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABfMTMxMzA2MzE3NF8yOTIzNTA1NjdfSQptknByZUwkH1V6JIQXFQ%3D%3D&ha_method=auth.accesstoken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT

result
  •  expiredate=1313084774&methods=users.getByUsername%2Cfriends.get&oauth_token=YXRfMjY0MTQyMDQ5X6iBB6SBaRIOSpYjMChCMwM%3D&oauth_token_secret=fTEnbYZ8wJXqCPqZAneDMg%3D%3D&userid=00086769082d53ad21952679a7238766db

Categories

  • auth

© 2004-2012 Hyves   Algemene Gebruiksvoorwaarden   Je Privacy

Aanmelden