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

problem with fitbit integration with android please heeellllp =((((

welcome to every one in fitbit community 

 

this community is my last hope to complete my graduation project so Im begging any one who have solution to replay or contact me on hanadyshujaa@gmail.com

 

we are designing a mobile application that is integrated with fitbit charge HR and we want to connect the wrist band to the app and get user data like heart rate , sleeping ..etc

I have refferd to fitbit website and follow the steps , the first one was the auothentication and we have to use a url like 

https://www.fitbit.com/oauth2/authorize?response_type=token&scope=activity%20heartrate%20settings%20...

 

our problem is in redirect uri , we used the above link but it always says:  - Invalid request  Invalid redirect_uri parameters

http%3A%2F%2Flocalhost[:8080]%2F  << this part maybe the problem so I would like to know how to write it 

Im using xampp so i dont have another host ..

 

If any one have developed android app with similar functionality please help me =(((

and if you  want more detailes you are most welcomed..

 

Thank you in advance 

 

 

 

Best Answer
2 REPLIES 2

@Hanady

I've moved your post to the Web API section of the help forum, because that's where the API gurus hang out.

 

Hope this helps!

SebringDon | Florida USA | Fitbit's Food Plan Demystified

Charge HR, Flex | Windows 10 | Android | iPad

Take a look at the Fitbit help site for further assistance and information.

Best Answer

[:8080] is not a valid way to specify a port in a URI. And {token} is also invalid.

 

Your redirect_uri value for the Authorization page should be

redirect_uri=http%3A%2F%2Flocalhost:8080/

and the value you would put in your https://dev.fitbit.com/apps settings would be

http://localhost:8080/

.

 

Best Answer
0 Votes