If-Modified-Since and the 'since' parameter are working great for
friends_timeline, but I'm not having any luck with friends.  If some
one could point out what I'm doing wrong I would greatly appreciate
it.  Otherwise I will file a defect.

]$ curl -v --header "If-Modified-Since: Mon, 08 Dec 2008 03:09:02 GMT"
-u "[EMAIL PROTECTED]:password" "http://twitter.com/statuses/
friends/xtoddx.xml"
* About to connect() to twitter.com port 80 (#0)
*   Trying 128.121.146.100... connected
* Connected to twitter.com (128.121.146.100) port 80 (#0)
* Server auth using Basic with user '[EMAIL PROTECTED]'
> GET /statuses/friends/xtoddx.xml HTTP/1.1
> Authorization: Basic XXXXXXXXX
> User-Agent: curl/7.18.1 (i386-apple-darwin9.3.0) libcurl/7.18.1 zlib/1.2.3
> Host: twitter.com
> Accept: */*
> If-Modified-Since: Mon, 08 Dec 2008 03:09:02 GMT
>
< HTTP/1.1 200 OK
< Date: Mon, 08 Dec 2008 03:51:04 GMT
< Server: hi
< Last-Modified: Mon, 08 Dec 2008 03:51:05 GMT
< Status: 200 OK
< ETag: "ceee3de5360bc61465e5e962d0927a2b"
< Pragma: no-cache
< Cache-Control: no-cache, no-store, must-revalidate, pre-check=0,
post-check=0
< Content-Type: application/xml; charset=utf-8
< Content-Length: 29571
< Expires: Tue, 31 Mar 1981 05:00:00 GMT
< Set-Cookie: lang=en; path=/
< Set-Cookie: lang=en; path=/
< Set-Cookie:
_twitter_sess=BAh7CDoJdXNlcmkENMwLAToHaWQiJTNiZTYyODg0NGJmMjdkNGY5NTJhN2Fl
%250ANTQ2M2JiMzNlIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFzaDo6%250ARmxhc2hIYXNoewAGOgpAdXNlZHsA--9836ed4e7b32f178091290c44d55908ca034d686;
domain=.twitter.com; path=/
< Vary: Accept-Encoding
< Connection: close
<
<?xml version="1.0" encoding="UTF-8"?>
<users type="array">
<user>
  <id>14209639</id>
  <name>Lutherand</name>
  <screen_name>Lutherand</screen_name>
  <location>Lexington, Kentucky, USA</location>
  <description>Director of Technology at Blood-Horse Publications</
description>
  <profile_image_url>http://s3.amazonaws.com/twitter_production/
profile_images/52605597/me_normal.jpg</profile_image_url>
  <url></url>
  <protected>false</protected>
  <followers_count>74</followers_count>
  <status>
    <created_at>Mon Dec 08 00:25:47 +0000 2008</created_at>
    <id>1044183586</id>
    <text>Eating at Gatti Town with the Fam</text>
    <source>&lt;a href=&quot;http://www.kosertech.com/
&quot;&gt;ceTwit&lt;/a&gt;</source>
    <truncated>false</truncated>
    <in_reply_to_status_id></in_reply_to_status_id>
    <in_reply_to_user_id></in_reply_to_user_id>
    <favorited>false</favorited>
  </status>
</user>
..... [plenty more friends that were not added in the last hour]

Reply via email to