I started the process of (getting a token)over using the Fitbit API debug tool, Authorized myself, plugged the code in, sent the curl command to Hurl.it, and got an "invalid client" or an "invalid request" message on different occasions. What could be the problem?
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
The invalid_client error means you don't have a proper Authorization header. Did you put your client id and client secret into the OAuth 2 tutorial form?
The redirect_uri mismatch error is a bug we're aware of with Hurl.it. You should use the copy the raw cURL command and paste into terminal instead.
Best AnswerThanks Jeremiah. Which terminal are you referring to? I am new to this, appreciate your help.
And on the Authorization header topic, I encoded the client id and client secret in Base 64 before I stuck it in the header as instructed.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
On macOS, there is an app called Terminal.
I'm not sure how to use cURL in Windows, but I think it's included as part of Windows 10 Anniversary Edition's BASH support.
Best Answer