Fitbit API
May 24, 2012 9:22 AM   Subscribe

I just bought a Fitbit and I want to play around with their API.

PHP is my language of choice, which they support. It seems that the first step is to install the PECL Oauth extension. My PHP site is hosted by GoDaddy. I'm confused about if this extension is already installed and, if not, how to install it. Any help would be much appreciated.

Also, note that on the page I linked to, Fitbit says, "You can also consider using Fitbit PHP Client library contributed by third party developers, which will significantly reduce complexity of your development efforts." I can't seem to find any third-party libraries, but I'd much prefer going that route, if possible. A point in the right direction there would be helpful as well.
posted by JPowers to Computers & Internet (9 answers total) 10 users marked this as a favorite
Are you on twitter? The fitbit people are active on there...they may be able to help you directly...
posted by dfriedman at 9:32 AM on May 24, 2012

Here's one:
posted by TonyRobots at 9:34 AM on May 24, 2012

FitbitPHP on GitHub appears to be the client library they're referring to. (As found on their API Client Libraries wiki page.)
posted by Diggins at 9:35 AM on May 24, 2012

Awesome. It looks like that client library still requires oAuth though:

Meaning, I still need somehow get Oauth installed.
posted by JPowers at 10:15 AM on May 24, 2012

You'll probably need a dedicated server if you want to stay with GoDaddy:
posted by Nonsteroidal Anti-Inflammatory Drug at 11:40 AM on May 24, 2012

Oh man. Thanks stinks! I guess I could just run PHP off of my Mac.
posted by JPowers at 11:45 AM on May 24, 2012

you could run it off a free EC2 instance...
posted by namewithoutwords at 12:18 PM on May 24, 2012

Fitbit has an API?! Awesome, thanks!
posted by Johnny Wallflower at 2:17 PM on May 24, 2012

Oddly enough, I went with namewithoutwords' advice. I created a free EC2 instance, installed PHP, installed PECL Oauth extension, and now I'm off an running. EC2 is pretty amazing.

Thanks for the help everyone.
posted by JPowers at 12:32 AM on May 25, 2012

« Older Take me far away from home! Well actually, not too...   |   Recalcitrant Patient Cat is Recalcitrant Newer »
This thread is closed to new comments.