@ Matt Harris
I checked the header from twitter & my server's
header & I found difference of 1 hour & I have set the time using
date_default_timezone_set to GMT using PHP. But still its giving the
same error. What should be the problem behind it? Thanks.
On Nov 19, 11:55 pm, Matt Harris <
thematthar...@twitter.com> wrote:
> In addition, the server time is returned in the HEAD of every response from
> the Twitter API. If the first request fails you can inspect the time
> returned in the HEAD and calculate the difference between it and your local
> time. You can then add/subtract that difference to the timestamp you use for
> OAuth requests.
>
> Hope that helps,
> @themattharris
> Developer Advocate, Twitterhttp://
twitter.com/themattharris
>
> On Fri, Nov 19, 2010 at 9:35 AM, M. Edward (Ed) Borasky <
>
>
zn...@borasky-research.net> wrote:
> > The server administrators can and should sync server clocks automatically
> > to the world time clocks using Network Time Protocol (NTP). If your "IT
> > department" isn't doing this, find out why not. Most likely they don't know
> > it's possible. It's pretty easy on Linux and Windows, but you do need an
> > Internet connection to the outside world, so the firewall folks need to be
> > involved and you have to make sure your server-side NTP software is kept up
> > to date on security patches.
> > --
> > M. Edward (Ed) Borasky
> >http://borasky-research.nethttp://
twitter.com/znmeb
>
> > "A mathematician is a device for turning coffee into theorems." - Paul
> > Erdos
>