I had a proble with wordtwit, it said ‘Timestamp out of bounds’ when i tried to post a tweet in mi wordpress site.
The problem was because my server time
I fixed it doing this:
1… Create a php file in your server:
<?
$request_url ="https://api.twitter.com/1/help/test.json";
$srvstamp = time(); // ---- server timestamp ----
$twheader = get_headers($request_url, 1); // ---- array with ['Date'] string
$twistamp = strtotime($twheader['date']); // ---- twitter timestamp
echo "
Server: ".date("Y.m.d (H:i:s)",$srvstamp)." - ".$srvstamp." \r\n";
echo "
Twitter: ".date("Y.m.d (H:i:s)",$twistamp)." - ".$twistamp." \r\n";
/*The diference between my server and twitter is*/
echo $twistamp - $srvstamp;
?>
2.- Open your browser ang go to your php file
- I copied the diference between the timestamps
4.- Go to Ajust ->Wordtwit and saste that number in the last textfiled (timestamp)
5.- Save and that’s all