Is this expected. I was setting the since param to a recent time, curl
showed no tweets, but when I add --head, it shows 200 instead of 304.
I'll also ask what I wanted to find out. If I request with since, and
I get a 304, does it cost an API hit? Or is it a free call? Also, does
since_id work that way as well? Finally, is account/
validate_credentials meant to be a free call, or is that a bug?

None of these things are documented on the wiki, but I would be happy
to update them with the results of this thread.

C:\Users\jdeville\projects\wittytwitter
[40] » curl -u jredville:******** "http://twitter.com/statuses/
friends_timeline.json?since=Wed%2C+28+Jan+2009+08%3A23
%3A30+GMT"
[]C:\Users\jdeville\projects\wittytwitter
[41] » curl -u jredville:******** "http://twitter.com/statuses/
friends_timeline.json?since=Wed%2C+28+Jan+2009+08%3A23
%3A30+GMT" --head
HTTP/1.1 200 OK
Date: Wed, 28 Jan 2009 08:23:22 GMT
Server: hi
Last-Modified: Wed, 28 Jan 2009 08:23:22 GMT
Status: 200 OK
ETag: "d751713988987e9331980363e24189ce"
Pragma: no-cache
Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-
check=0
Content-Type: application/json; charset=utf-8
Content-Length: 2
Expires: Tue, 31 Mar 1981 05:00:00 GMT
X-Revision: f00b1c05573da382f8afb2d6e9ddff447d5b55f9
Set-Cookie: lang=en; path=/
Set-Cookie: lang=en; path=/
Set-Cookie:
_twitter_sess=BAh7CToJdXNlcmkDJcQcOhNwYXNzd29yZF90b2tlbiItY2M3MGU4YzkxNzky
%250AZDkyOGE3YWZmY2E1ZDIyMjg0NTIzM
WQ5ZTlhMDoHaWQiJTA1YjgxNmZlMmM4%250AYzY4ZTAyMGVjNmQ4NjZlMTNkOTgzIgpmbGFzaElDOidBY3Rpb25Db250cm9s
%250AbGVyOjpGbGFzaDo6Rmx
hc2hIYXNoewAGOgpAdXNlZHsA--a08bb0639b3e3c4744adbc652562d6fc6a2f2ad7;
domain=.twitter.com; path=/
Vary: Accept-Encoding
Connection: close

Reply via email to