05-24-2015 00:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-24-2015 00:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
authentication works fine
require 'fitbitphp.php';
$consumer_key ='XXXX';
$consumer_secret='XXXX';
$fitbit = new FitBitPHP($consumer_key, $consumer_secret);
$fitbit->initSession('http://162.242.242.96/#/profile');
Nothing works after authenticating
$profile = $fitbit->getProfile();
var_dump($profile);
Fitbit request failed. Code: 400
$activities = $fitbit->getActivities(new DateTime(date('Y-m-d')));
var_dump($activities);
Fitbit request failed. Code: 400
$fitbit->setUser($_SESSION['userId']);
returns no userId
How do I resolve these?
05-24-2015 03:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-24-2015 03:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Can someone please help me? I bought a Surge and tried to download the software to my Windows PC. I followed directions on page 4 of user manual, but when I opened the folder, I could not locate the installation program FitbitConnect_Win.exe. I tried deleting the folder but the error message said this couldn't be done because a file in the program was in use. What can I do?

