02-03-2018 17:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

Jogger
1
0
0
02-03-2018 17:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
let me start by stating I am new to Oauth, and working with fitbits, so I've been working off of examples.
I'm using the djchen OAuth2-fitbit wrapper and have a problem with the results coming back private.
I'm using my own fitbit account for testing, and can successfully pull in /1/user/-/profile.json
but when I try to pull in a daily activity summery, such as /1/user/-/activities/date/2018-02-02.json
I get the following results:
GuzzleHttp\Psr7\Request Object ( [method:GuzzleHttp\Psr7\Request:private] => GET [requestTarget:GuzzleHttp\Psr7\Request:private] => [uri:GuzzleHttp\Psr7\Request:private] => GuzzleHttp\Psr7\Uri Object ( [scheme:GuzzleHttp\Psr7\Uri:private] => https [userInfo:GuzzleHttp\Psr7\Uri:private] => [host:GuzzleHttp\Psr7\Uri:private] => api.fitbit.com [port:GuzzleHttp\Psr7\Uri:private] => [path:GuzzleHttp\Psr7\Uri:private] => /1/user/-/activities/date/2018-02-02.json [query:GuzzleHttp\Psr7\Uri:private] => [fragment:GuzzleHttp\Psr7\Uri:private] => ) [headers:GuzzleHttp\Psr7\Request:private] => Array ( [Host] => Array ( [0] => api.fitbit.com ) [Authorization] => Array ( [0] => Bearer AUTHCODEREMOVED ) [Accept-Language] => Array ( [0] => en_US ) ) [headerNames:GuzzleHttp\Psr7\Request:private] => Array ( [authorization] => Authorization [accept-language] => Accept-Language [host] => Host ) [protocol:GuzzleHttp\Psr7\Request:private] => 1.1 [stream:GuzzleHttp\Psr7\Request:private] => )
Note, I have gone into my fitbit.com account and changed a majority of my privacy settings to public, everything under statistics, and graphs, is public.
0 REPLIES 0
