Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7.6
-
Component/s: Zend_Service_Twitter
-
Labels:None
Description
The current $_dateFormat (line 58 of Zend/Service/Twitter.php) value isn't correctly interprated by twitter.
It often leads to empty responses when there has to be new tweeds.
I would therefore strongly suggest to use the same format as twitter uses itself in the responses:
Mon Feb 16 13:44:39 +0000 2009
$_dateFormat = 'D M d H:i:s O Y';
The problem with your format is it's not a valid HTTP-formatted date as the since header is being sent across in the header If-Modified-Since
I suggest changing it to: D, d M Y H:i:s T so it's a valid HTTP-formatted date.