07-21-2014 14:16 - edited 07-25-2014 09:30
07-21-2014 14:16 - edited 07-25-2014 09:30
New Fitbit API debug tool that helps you debugging every single OAuth flow step and making actual request: https://dev.fitbit.com/apps/oauthtutorialpage
At this page you can simply copy and paste your data and see right away how the right signature should look like and how this signature was formed(base string + "signed with" value)
Answered! Go to the Best Answer.
07-21-2014 14:17
07-21-2014 14:17
If you have troubles using/understanding this page, please check out following video: https://www.youtube.com/watch?v=5r-Tnn781gs
07-21-2014 14:17
07-21-2014 14:17
If you have troubles using/understanding this page, please check out following video: https://www.youtube.com/watch?v=5r-Tnn781gs
10-24-2014 15:39
10-24-2014 15:39
Thank you again for your reply. I am still unsure of how to call the API with the existing token from storage.
Would it be possible to show me example code of calling the API with a token retrieved from storage?
Thanks,
Hussain
10-24-2014 15:43
10-24-2014 15:43
@hsalbi wrote:
Thank you again for your reply. I am still unsure of how to call the API with the existing token from storage.
Would it be possible to show me example code of calling the API with a token retrieved from storage?
Thanks,
Hussain
Hi Hussain,
Are you using an existing OAuth 1 client? Most clients support some method of setting user token and secret.
For example, in the FitbitPHP client, you call:
$fitbit->setOAuthDetails('token_stored_for_user', 'secret_stored_for_user');