Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting user key and secret

ANSWERED

My apologies if this might be really obvious to most of you, however I am just getting started with the FitBit API, and want to use the data from my existing account to retrieve some data for a test. To do so I would require my own user_key and user_secret, however I haven't found a clear instruction on how to retrieve these. There are some workarounds online, however I was wondering what the recommended approach for this is. Many thanks for your help!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

This page has very clear instructions: https://wiki.fitbit.com/display/API/OAuth+Authentication+in+the+Fitbit+API

The oauth 1.0a flow, how ever is not the easiest thing in the world so you may need to spend some time understanding how exactly it works. Also check out this post: 

https://community.fitbit.com/t5/Web-API/How-to-properly-sign-API-request-and-set-up-OAuth-1-0a-flow/...

Ivan Bahdanau
Senior Software Developer at Fitbit

View best answer in original post

Best Answer
0 Votes
2 REPLIES 2

This page has very clear instructions: https://wiki.fitbit.com/display/API/OAuth+Authentication+in+the+Fitbit+API

The oauth 1.0a flow, how ever is not the easiest thing in the world so you may need to spend some time understanding how exactly it works. Also check out this post: 

https://community.fitbit.com/t5/Web-API/How-to-properly-sign-API-request-and-set-up-OAuth-1-0a-flow/...

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Thanks Ivan, that seems like what I was looking for. I just read that the API will switch to OAuth 2.0 soon, so I'll probably wait with the integration for the new API to come available to save double work. Thanks for helping out!

Best Answer
0 Votes