PHP Classes

Fitbit OAuth 2.0

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  Fitbit OAuth 2.0  >  (Un) Subscribe thread alerts  
Subject:Fitbit OAuth 2.0
Summary:Fitbit has released OAuth authentication for their API
Messages:4
Author:Jimmy Stacks
Date:2015-07-23 05:46:47
 

  1. Fitbit OAuth 2.0   Reply   Report abuse  
Picture of Jimmy Stacks Jimmy Stacks - 2015-07-23 05:46:47
Hi Manuel,

Fitbit now has OAuth authentication available for their API, and have restricted certain scope items to only be accessible with OAuth 2.0 (Heart rate data etc).

Do you plan to support this in your PHP OAuth API class?

We'd be keen to start using it if you could setup a new Fitbit OAuth 2.0 server.

Thanks!
Jimmy

  2. Re: Fitbit OAuth 2.0   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2015-07-23 20:48:09 - In reply to message 1 from Jimmy Stacks
OK, I just added support to access Fitbit with OAuth 2.0 support. Just let me know if this works for you.

  3. Re: Fitbit OAuth 2.0   Reply   Report abuse  
Picture of Anna Comas Anna Comas - 2015-10-13 10:14:31 - In reply to message 2 from Manuel Lemos
Hi!

I just installed your package PHP OAuth API and while trying to execute for Fitbit OAuth 2, I get an error.
I explain details below and hopefully you could help.

Based on the file "login_with_fitbit2.php" with my client data configured, when selecting button "Permit" on webpage, nothing happens.

I can see something like "Status Code: 301 Moved permanently" in Response headers from:
"https://fitbit.com/oauth2/authorize?response_type=code&client_id..."

Many thanks for your support in advance!

  4. Re: Fitbit OAuth 2.0   Reply   Report abuse  
Picture of Anna Comas Anna Comas - 2015-10-13 12:02:59 - In reply to message 3 from Anna Comas
Hi Manuel,

finally I made it work. Everything is fine.

Many thanks for your contribuition with this api