07-03-2015 02:13
07-03-2015 02:13
I'm trying to develop a Websrvice that pulls my Registerd users data down periodically (daily) for showing data to users on my cloud to belonging users ,but the OAuth 2.0 access_token's is short lived only 1 Hour. for every time when i requested to resource FIrst i request for new access_token's then only i able to get data . After OAuth2.0 goes out of beta?Are you provide permanent access_token's or as same short lived for 1 Hour Only?
Answered! Go to the Best Answer.
07-13-2015 17:34
07-13-2015 17:34
When using the OAuth 2.0 Authorization Code Grant flow, you receive an access token and a refresh token. You use the refresh token to obtain a new access token when the access token expires. This is in the documentation at https://wiki.fitbit.com/display/API/OAuth+2.0
07-13-2015 17:34
07-13-2015 17:34
When using the OAuth 2.0 Authorization Code Grant flow, you receive an access token and a refresh token. You use the refresh token to obtain a new access token when the access token expires. This is in the documentation at https://wiki.fitbit.com/display/API/OAuth+2.0