Description Usage Arguments Details
add_favorite_activity()
adds the activity with the given ID to user's list of favorite activities.
1 | add_favorite_activity(token, activity_id)
|
token |
An OAuth 2.0 token generated by oauth_token() |
activity_id |
The ID of the activity to add to user's favorites. |
See https://dev.fitbit.com/reference/web-api/activity/#add-favorite-activity for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.