Has anyone ever made a request of the FitBit api?

Has anyone ever made a request of the FitBit api? I’ve been experimenting with implementing a regular http post request to get basic activity and sleep information, but no luck so far - has anyone seen any recent examples of anyone doing a fitbit api request on Make? It’s failing on the OAuth2 step for me.

1 Like

Yes. We worked on similar thing recently

What is the issue you are facing?

1 Like

Basically I’m trying to create a connection, like so

A new window pops up - I have granted access to sleep, then it goes to http://localhost with a code and status in the querystring (which looks like this http://localhost/#access_token=TOKENVALUE&user_id={uSERid}&scope=sleep&state={sTATEvaLUE}&token_type=Bearer&expires_in=86400)

Once i close that window (on localhost) I get the warning “Accounts verifyFailed”

image