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

extract Fitbit data to python

Hello, I need help.

I am trying to extract my sleeping data from my fitbit using python for my school project. I tried doing the API tool where I had to register an APP. I do not have an APP website and I do not know what to put for the callback url. I am new to this. I tried putting any url and this is the error that i recieved. 

{"errors":[{"errorType":"invalid_client","message":"Invalid authorization header format. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}

I also got this

The app you're trying to connect did not provide valid information to Fitbit. Please report this issue to them.

Developer information: invalid_request - Missing response_type parameter value

 

Please help me, I am so lost and I need to finish my senior project

 

Best Answer
0 Votes
1 REPLY 1

@miguel480 Application website field can be something as simple as "http://example.com".

 

I usually set my Callback URL to https://localhost or https://example.com/callback-url 

 

Callback URL / redirect uri have to be exactly the same. Try playing around with the OAuth 2.0 tutorial page.

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer