10-21-2015 11:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-21-2015 11:35
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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?
10-21-2015 17:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



10-21-2015 17:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

10-22-2015 05:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-22-2015 05:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

10-26-2015 10:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
10-26-2015 10:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@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.

