APIMethods/1.2.1/auth.requesttoken
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
auth.requesttoken
Retrieves a request token. The oauth_token parameter should be absent.
- Not <a href='http://hyves-developers.nl/documentation/data-api/pagination'>Paginated</a>
params
- <a href='http://hyves-developers.nl/returnvalues#methods'>methods</a> --- Comma-separated list of method-names. The request token will be valid for only these methods.
- Required
- expirationtype --- Type of expiration.
- Optional
- Default: default
- Possible values:
- default --- Default token, valid for 6 hour.
- infinite --- Infinite token, no expiration time
- user --- The User chooses the expiredate for the token.
- 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 ---
- 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/?methods=users.get%2Cfriends.get&ha_method=auth.requesttoken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117687&oauth_nonce=90826_505&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=0NZRMxH%2FAvRxOgjR9qejJDSXn%2Fc%3D
result
<?xml version="1.0" encoding="UTF-8"?> <auth_requesttoken_result> <oauth_token>cnRfNl8EAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8xMjgyMTE3Njg3XzEyODY2OTA1MTVfnD-PlQuxlfePO81rXzObAA==</oauth_token> <oauth_token_secret>XEOhKiXR2F2FCpiotXTKhQ==</oauth_token_secret> <info> <timestamp_difference>0</timestamp_difference> <running_milliseconds>68</running_milliseconds> <secure_connection>false</secure_connection> </info> </auth_requesttoken_result>
example 2
url
http://data.hyves-api.nl/?methods=users.get%2Cfriends.get&expirationtype=infinite&ha_method=auth.requesttoken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117687&oauth_nonce=847146_506&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=Pj72IXdQK4yAaz%2Bzy%2FeraHG7reo%3D
result
<?xml version="1.0" encoding="UTF-8"?> <auth_requesttoken_result> <oauth_token>cnRfNl8EAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF8xMjgyMTE3Njg4XzEzNjEyMjQwNV-xX4DeObqZhcLC1i6gIOty</oauth_token> <oauth_token_secret>B_wnPb37MIj1YWrBKLIvKw==</oauth_token_secret> <info> <timestamp_difference>1</timestamp_difference> <running_milliseconds>71</running_milliseconds> <secure_connection>false</secure_connection> </info> </auth_requesttoken_result>
returnvalues
<a href='http://hyves-developers.nl/returnvalues#info'>info</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>
