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?
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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 AnswerI 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
@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.
Best Answer