APIMethods/beta_2/auth.accesstoken
TracNav
TracNav
Methods
Version beta_2
- albums.addMedia
- albums.create
- albums.get
- albums.getBuiltin
- albums.getByHub
- albums.getByUser
- albums.removeMedia
- auth.accesstoken
- auth.getValidMethods
- auth.requesttoken
- auth.revoke
- auth.revokeAll
- auth.revokeSelf
- batch.process
- blogs.create
- blogs.createRespect
- blogs.get
- blogs.getByHub
- blogs.getByTag
- blogs.getByUser
- blogs.getComments
- blogs.getForFriends
- blogs.getPublic
- blogs.getRespects
- blogs.update
- buzz.getFamous
- chat.getLoginToken
- cities.get
- countries.get
- events.addPresence
- events.get
- events.getByHub
- events.getByLoggedin
- events.getByUserPresent
- events.getPresence
- events.getPresenceForFriends
- fancylayout.parse
- friendgroups.addUser
- friendgroups.create
- friendgroups.get
- friendgroups.getByLoggedin
- friends.get
- friends.getConnection
- friends.getDistance
- friends.getIncomingInvitations
- friends.getOutgoingInvitations
- gadgets.create
- gadgets.createByXML
- gadgets.createRespect
- gadgets.get
- gadgets.getByHub
- gadgets.getByUser
- gadgets.getComments
- gadgets.getRespects
- hubcategories.get
- hubcategories.getByHubType
- hubcategories.getChildren
- hubs.get
- hubs.getByHubCategory
- hubs.getByShortname
- hubs.getByUser
- hubs.getHubTypes
- hubs.getScraps
- hubs.search
- hubs.updateMedia
- listeners.create
- listeners.delete
- listeners.get
- listeners.getAll
- listeners.getByType
- media.addSpotted
- media.addTag
- media.createRespect
- media.get
- media.getByAlbum
- media.getByLoggedin
- media.getByTag
- media.getComments
- media.getMediaEditToken
- media.getPublic
- media.getRespects
- media.getSpotted
- media.getUploadToken
- media.update
- media.updateGeolocation
- pings.get
- pings.getByTargetUser
- pings.getByUser
- polls.create
- polls.createOption
- polls.get
- polls.getByHub
- polls.getByUser
- polls.getComments
- polls.getRespects
- polls.vote
- privatespots.create
- privatespots.get
- privatespots.getByLoggedin
- regions.get
- search.find
- search.findInHub
- shorturl.create
- shorturl.get
- shorturl.getByShortURL
- shorturl.getByURL
- threads.get
- threads.getByHub
- threads.getComments
- tips.create
- tips.createRespect
- tips.get
- tips.getByHub
- tips.getByUser
- tips.getCategories
- tips.getComments
- tips.getForFriends
- tips.getRespects
- users.createRespect
- users.get
- users.getByFriendLastlogin
- users.getByHubLastlogin
- users.getByUsername
- users.getFriendsByLoggedinSorted
- users.getLoggedin
- users.getRespects
- users.getScraps
- users.getSmileyCategories
- users.getSmileys
- users.getTestimonials
- users.search
- users.searchInFriends
- users.updateOnMyMind
- wwws.create
- wwws.createRespect
- wwws.get
- wwws.getByHub
- wwws.getByUser
- wwws.getComments
- wwws.getForFriends
- wwws.getRespects
- wwws.searchPublic
auth.accesstoken
Retrieves 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.
- Not <a href='http://hyves-developers.nl/documentation/data-api/pagination'>Paginated</a>
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_callback_confirmed ---
- Optional
- oauth_verifier ---
- Optional
extra
- 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>.
examples
example 1
url
http://data.hyves-api.nl/?oauth_token=cnRfNl8IAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8xMjgyMTE3NTM2Xzc1MDI5MzMzN18ptspXADT7yGatCV9XaEOE&ha_method=auth.accesstoken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117536&oauth_nonce=830924_245&ha_version=beta_2&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=Fv8TGuIwVdLOcvuS4lbYMFDo3%2Fo%3D
result
<?xml version="1.0" encoding="UTF-8"?> <auth_accesstoken_result> <oauth_token>YXRfMTY4MzcwMzcyX9dkbcT4aQZOF0ADq2fnA9w=</oauth_token> <oauth_token_secret>4H_jkWFAcQhXQ81v7LncsA==</oauth_token_secret> <userid>00b00d50220b48bedbeed3e6701d0d11ce</userid> <methods>users.getByUsername,friends.get</methods> <expiredate>1282139136</expiredate> <info> <timestamp_difference>0</timestamp_difference> <running_milliseconds>125</running_milliseconds> <secure_connection>false</secure_connection> </info> </auth_accesstoken_result>
example 2
url
http://data.hyves-api.nl/?strict_oauth_spec_response=true&oauth_token=cnRfNl8IAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8xMjgyMTE3NTM2XzE2NTIwNDk4OTFfHg1byvEKjYCqr-ozICxzoA%3D%3D&ha_method=auth.accesstoken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117536&oauth_nonce=641086_246&ha_version=beta_2&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=Fgtkjp4ucJMnTo8N5zrifzMAgAE%3D
result
expiredate=1282139136&methods=users.getByUsername%2Cfriends.get&oauth_token=YXRfMTY4MzcwMzcyX9dkbcT4aQZOF0ADq2fnA9w%3D&oauth_token_secret=4H_jkWFAcQhXQ81v7LncsA%3D%3D&userid=00b00d50220b48bedbeed3e6701d0d11ce
returnvalues
<a href='http://hyves-developers.nl/returnvalues#expiredate'>expiredate</a>, <a href='http://hyves-developers.nl/returnvalues#info'>info</a>, <a href='http://hyves-developers.nl/returnvalues#methods'>methods</a>, <a href='http://hyves-developers.nl/returnvalues#oauth_token'>oauth_token</a>, <a href='http://hyves-developers.nl/returnvalues#oauth_token_secret'>oauth_token_secret</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#timestamp_difference'>timestamp_difference</a>, <a href='http://hyves-developers.nl/returnvalues#userid'>userid</a>
