04-28-2015 06:45
04-28-2015 06:45
I have been through some of the articles that help a new user Register an App.
https://community.fitbit.com/t5/Web-API/Register-demo-using-fitbit-API/m-p/578607#M898
https://community.fitbit.com/t5/Web-API/How-to-Register-an-App/m-p/732017
I am busy developing an Android app that will get my data from Fitbit. On the registration page in the Apllication Type section there are two options Desktop or Browser. Which option would I choose because when I click for more info, I do not get any info. Tried different browsers.
Answered! Go to the Best Answer.
04-28-2015 09:21
04-28-2015 09:21
Does your application run in a Web Browser or is it a Desktop application? Choosing Desktop will set up the Out of Band (PIN-based) OAuth workflow for your application.
In other words if you have web application Fitbit will redirect user to your app with verification code wthat you can exchange to permanent access token.
If you have Desktop app, then, once user clicks [Allow] button, Fitbit will display verification code for user. In this case your app should provide functionality so user can copy and paste this verification code and your app will exchange it.
04-28-2015 09:21
04-28-2015 09:21
Does your application run in a Web Browser or is it a Desktop application? Choosing Desktop will set up the Out of Band (PIN-based) OAuth workflow for your application.
In other words if you have web application Fitbit will redirect user to your app with verification code wthat you can exchange to permanent access token.
If you have Desktop app, then, once user clicks [Allow] button, Fitbit will display verification code for user. In this case your app should provide functionality so user can copy and paste this verification code and your app will exchange it.
04-28-2015 10:16
04-28-2015 10:16
My application is an Android mobile application. I thought it was possible to access the Fitbit data, without having create a desktop application. If the information that I require is my own Fitbit data. would I have to create my own webservice that would allow me to copy and paste the verification code so that my application can exchange it.
04-28-2015 10:35
04-28-2015 10:35
You can use Desktop app type for you android ap.
Make sure you have view in your Android app that lets user to paste verification code.
04-28-2015 10:48
04-28-2015 10:48
Will do thank you
06-16-2016 01:12
06-16-2016 01:12
Hi,
I am trying to integrate FitBit APIs in a Cordova based mobile app. I am unable to verify the Subscriber. I have selected it as a browser app and provided a valid subscriber link. Any help would be really appreciated.
Thanks in advance.
Samdani Shaik.