09-07-2014 20:44
09-07-2014 20:44
Hi 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:
09-09-2014 09:33 - edited 09-09-2014 09:34
09-09-2014 09:33 - edited 09-09-2014 09:34
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.