Description Usage Arguments Examples
This function refreshes the fitbit token as described in https://dev.fitbit.com/docs/oauth2/#refreshing-tokens.
The internal refresh function (refresh_oauth2.0
)
of the httr
package somehow fails to refresh it.
1 | refresh_fitbit_token(token)
|
token |
Fitbit API token generated with |
1 2 3 4 | ## Not run:
token <- refresh_fitbit_token(token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.