Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FitBit PHP/OAuth 2.0 Installation and Integration

Hello, 

 

I am designing a PHP application that will allow the user to request data from FitBit. I am not understanding how to install and use OAuth 2.0 with PHP. Do I need to install a client or server version or this library?

Are there examples of how to use PHP to make and handle requests using OAuth? 

Best Answer
0 Votes
3 REPLIES 3

I haven't used it, but a quick Google search suggests that https://github.com/thephpleague/oauth2-client would be a good OAuth 2.0 library for PHP.

Best Answer
0 Votes

I found this client already. Everytime I create a program to run against it I get errors stating it isn't installed, which is what is causing my confusion. 

Best Answer
0 Votes

@Ehaver282 wrote:

I found this client already. Everytime I create a program to run against it I get errors stating it isn't installed, which is what is causing my confusion. 


If thats the case, you should obtain help from them on using the library and/or report an issue to them.

https://github.com/thephpleague/oauth2-client/issues

Best Answer
0 Votes