New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem : Timestamp out of bounds - code:135 #223

Closed
hussein82 opened this Issue Aug 23, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@hussein82

hussein82 commented Aug 23, 2013

Hello
I write this code :

require('twitteroauth/twitteroauth/twitteroauth.php'); // path to twitteroauth library
$consumerkey = 'xxxxxxx';
$consumersecret = 'xxxxxxx';
$accesstoken = 'xxxxxxxx';
$accesstokensecret = 'xxxxxxx';
$twitter = new TwitterOAuth($consumerkey, $consumersecret, $accesstoken, $accesstokensecret);
$userinfo = $twitter->get('https://api.twitter.com/1.1/users/show.json?screen_name=NewsSyRev');
echo json_encode($userinfo);

but this message appear to me :
{"errors":[{"message":"Timestamp out of bounds","code":135}]}

please help me
thanks

@Aaron3

This comment has been minimized.

Aaron3 commented Aug 23, 2013

It means that your server time is off by more than 30 seconds (actual time
not including time-zone differences). Look at the response header to see
what Twitter's time is.

See: https://dev.twitter.com/discussions/670

On Fri, Aug 23, 2013 at 3:39 PM, hussein82 notifications@github.com wrote:

Hello
I write this code :

require('twitteroauth/twitteroauth/twitteroauth.php'); // path to
twitteroauth library
$consumerkey = 'xxxxxxx';
$consumersecret = 'xxxxxxx';
$accesstoken = 'xxxxxxxx';
$accesstokensecret = 'xxxxxxx';
$twitter = new TwitterOAuth($consumerkey, $consumersecret, $accesstoken,
$accesstokensecret);
$userinfo = $twitter->get('
https://api.twitter.com/1.1/users/show.json?screen_name=NewsSyRev');
echo json_encode($userinfo);

but this message appear to me :
{"errors":[{"message":"Timestamp out of bounds","code":135}]}

please help me
thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/223
.

@hussein82

This comment has been minimized.

hussein82 commented Aug 23, 2013

thanks Aaron

@abraham abraham closed this Aug 9, 2014

Repository owner locked and limited conversation to collaborators Dec 30, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.