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

I need sample Fitbit application in Java

Hi,

I am developing a java application, where we integrated fitbit. We followed steps mentioned in below sample

https://github.com/apakulov/fitbit4j

But, it is erroring out with "Your local user ID in this application is: 1058897170
Status: UNAUTHORIZED".
I think this sample code was using oauth 1.0(correct me if I am wrong)
Could you please provide me the sample java project with oauth 2.0

Thanks in advance

Best Answer
0 Votes
2 REPLIES 2
There is a tutorial here:
 
If you go to it through the link from your app detail page it will be auto filled with you app data
 
You can use any oauth2 library to follow the steps in the tutorial
Best Answer
0 Votes

Hi,

 

Thanks for your response.

I have gone through the tutorial and authorised my application and got the access token.

Please find the attached screenshots for my config settings.

I am still getting UNAUTHORISED error with https://github.com/apakulov/fitbit4j source code.

 

Could you please provide me the complete source code in Java, so that I can fork it and customise for my project.Capture.PNGreg.PNG

Best Answer
0 Votes