07-21-2014 14:16 - edited 07-25-2014 09:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-21-2014 14:16 - edited 07-25-2014 09:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
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)
Senior Software Developer at Fitbit
Answered! Go to the Best Answer.

- Labels:
-
.NET
-
Java
-
JavaScript
-
OAuth 1.0a
-
PHP
-
Subscriptions API
Accepted Solutions
07-21-2014 14:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-21-2014 14:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
If you have troubles using/understanding this page, please check out following video: https://www.youtube.com/watch?v=5r-Tnn781gs
Senior Software Developer at Fitbit

07-21-2014 14:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-21-2014 14:17
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
If you have troubles using/understanding this page, please check out following video: https://www.youtube.com/watch?v=5r-Tnn781gs
Senior Software Developer at Fitbit

10-24-2014 15:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-24-2014 15:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
10-24-2014 15:43
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@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');

