phpapifitbit

Fitbit API issues using PHP


Brand new to the Fitbit API but this is what I've got so far.

The XXXXXX is my 6 digit user ID I pulled from my profile. The screen is rendering a blank white page and I'm not sure how to diagnose this. I used the API Explorer and seemed to have positive results. Could someone provide some much needed direction? My goal is to simply output my profile data so I can style it on a webpage. Thanks in advance.

Sources:

FitbitPHP on GitHub

Fitbit API docs using PHP


Solution

  • FITBIT_KEY & FITBIT_SECRET were not previously defined in the GitHub provided wrapper. This has to be defined in order to pull data.