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

what are these keys and how can I get them from fitbit?

Hi:smileyhappy: I am a new android developer and I want to integrate Fitbit with my application. After I integrated and ran the emulator it showed the text " Uh-Oh...This page is no longer valid.It looks like you provided an invalid token or someone already used the token you provided. Please return to the site or application which sent you to this page and try again."  But I used my own consumer key that I got from fitbit. By the way,I'm not sure about these keys:

oauth_timestamp
oauth_nonce
oauth_token
oauth_signature
what are these keys and how can I get them from fitbit?
 
Thanks
Best Answer
0 Votes
1 REPLY 1

Junnie, 

This page https://wiki.fitbit.com/display/API/OAuth+Authentication+in+the+Fitbit+API contains information on how the oath 1.0a flow works and has answers to all your questions.

Also please check out this page https://dev.fitbit.com/apps/oauthtutorialpage you can generate CURLs and compare the signature and base strings that your code generates to what fitbit actually expects.

 

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes