PHP Classes

Problem access

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  Problem access  >  (Un) Subscribe thread alerts  
Subject:Problem access
Summary:Problem access the OAuth request token
Messages:4
Author:Florent Cailliez
Date:2014-02-25 18:05:38
Update:2014-02-26 10:09:38
 

  1. Problem access   Reply   Report abuse  
Picture of Florent Cailliez Florent Cailliez - 2014-02-25 18:05:38
Hi,

Thanks you for your class !

In local (wamp), i haven't problem. I receive the information correctly,
but, when i test on my web server, i have a error :
> it was not possible to access the OAuth request token

I use FitBit and Withings.

Can you help me ?

Thanks,
Flo


  2. Re: Problem access   Reply   Report abuse  
Picture of Florent Cailliez Florent Cailliez - 2014-02-25 18:10:31 - In reply to message 1 from Florent Cailliez
FitBit :
it was returned an unexpected response status 500 Response:

Withings :
it was returned an unexpected response status 401 Response: {"errors":[{"errorType":"oauth","fieldName":"oauth_timestamp","message":"oauth_acceptable_timestamps=1393350927-1393351527"}],"success":false}

  3. Re: Problem access   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-02-26 01:44:13 - In reply to message 2 from Florent Cailliez
This problem suggests that you server time is incorrect.

The solution is to ask the server administrator to synchronize their time with a NTP server, so it is as accurate as possible.

  4. Re: Problem access   Reply   Report abuse  
Picture of Florent Cailliez Florent Cailliez - 2014-02-26 10:09:38 - In reply to message 3 from Manuel Lemos
Yeees !
Thank you a lot.

On linux (debian) :
$ apt-get install ntp