09-27-2016 01:20
09-27-2016 01:20
I am writing an android mobile app to access the data collected by the band with no backhand server. whatever I do, I cannot pass the OAuth valdition stage.
No matter what I configure in the Callback URL (for example http://localhost:8080) I get the "Developer information: invalid_request - Invalid redirect_uri parameter value" error.
how do I need to configure the callback url to for a standalone android app?
Answered! Go to the Best Answer.
09-28-2016 11:54
09-28-2016 11:54
Resolved,
These two links explain what is required for Android:
09-27-2016 07:34
09-27-2016 07:34
If you mean you want the app to directly access the tracker data without going through the Fitbit servers, that is not possible.
09-27-2016 11:06
09-27-2016 11:06
Thanks for the answer,
just to clarify, I am not asking about direct access to the device, it is evident that API is a server API.
My question is about the redirect_uri parameter of the OAuth.
to further elaborate:
It my understanding that the security validation process requires the developer to have some sort of server address that is put in the redirect_uri parameter and is called by OAuth at the end of the credentials validation process.
As a mobile developer (Android), my application does not require a backend server (all data is kept on the phone) so I cannot provide a redirect_uri server address as I have none.
Hence my question - what do I put into this (redirect_uri) parameter when I do not have a backhand sever I can use?
09-28-2016 11:54
09-28-2016 11:54
Resolved,
These two links explain what is required for Android:
09-29-2016 22:00 - edited 09-29-2016 22:12
09-29-2016 22:00 - edited 09-29-2016 22:12
What should be used in callback URL in https:dev.fitbit.com? @ylusjs
Question link I post on stackoverflow, it is having screenshots about what error I'm facing.