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

Register an App: Application Type in registration page

ANSWERED

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. 

Best Answer
1 BEST ANSWER

Accepted Solutions

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.

Ivan Bahdanau
Senior Software Developer at Fitbit

View best answer in original post

Best Answer
0 Votes
5 REPLIES 5

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.

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

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. 

Best Answer
0 Votes

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.

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes

Will do thank you

Best Answer
0 Votes

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.

Best Answer
0 Votes