12-03-2015 20:07
12-03-2015 20:07
I was developed using PHP.
I was successful in obtaining the access token.
I want to get the data of Fitbit.
When you request a request a URL by curl such as the following, how would should I use the access token.
https://api.fitbit.com/1/user/-/XXX/XXX/XXXX.json
Answered! Go to the Best Answer.
12-03-2015 23:47
12-03-2015 23:47
I've solved the problem myself .
I found a solution in the "Using OAuth 2.0" page of the Fitbit API.
use
Authorization: Bearer XXXX
Thank you.
12-03-2015 23:47
12-03-2015 23:47
I've solved the problem myself .
I found a solution in the "Using OAuth 2.0" page of the Fitbit API.
use
Authorization: Bearer XXXX
Thank you.
12-06-2015 13:38
12-06-2015 13:38
DanC and I have both created OAuth2 wrappers to do this logic for you. It makes it easier to make the requests and all that you have to do is configure them.
Mine:
https://github.com/jmitchell38488/oauth2-fitbit
DanC:
01-06-2016 19:32
01-06-2016 19:32
Thank you for your cooperation.