I recognize that fitbit is mainly a fitness device. However, my interest in developing for the fitbit ecosystem extends beyond fitness data.
For example, I have an account with Wunderlist, a simple to-do list based service. My goal is to grab that data and display that data on the fitbit (Versa). I'd also like to send a POST back to Wunderlist when I have completed a particular task.
I've had a difficult time finding information on how to do this. I essentially modified the existing oauth example on github: https://github.com/Fitbit/sdk-oauth
but, when I run the application I get an error on the fitbit companion application (using the simulator) that says unauthorized_client - Invalid client_id.
I've registered my application with Fitbit, so I'm not sure where to go.
Thanks,
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
I believe the code sample at https://github.com/Fitbit/sdk-oauth is not ment to be used for third party data like Wunderlist.
I think https://github.com/Fitbit/sdk-oauth is ment to be used for accessing Fitbit data only.
Have a look at https://github.com/Fitbit/sdk-bart which gets data from a third party like BART (https://api.bart.gov/docs/overview/index.aspx).
I have been playing a lot with the Bart sample code but so far I can get it to work only in the Fitbit OS Simulator.
I would be interested to know if somebody has it working on the Ionic device and what they did which I missed.
Best AnswerHi,
I am interested in getting Wunderlist to work. Let me know if you need help with working on this.
Best Answer