On Mon, Oct 27, 2008 at 1:48 PM, Kris <[EMAIL PROTECTED]> wrote:
>
> The API documentation does not clearly list the date format for
> obtaining direct_messages sent to a user (within the specified date/
> time window).
> I am using RFC 1123/822 format but do not get any messages sent with
> in the specified date/time window:
>
> For Example:
>
> direct_messages.xml?since=".urlencode("Sun, 26 Oct 2008 22:00:00 EST")
>
> (does not return any messages or errors.)
>
> What is the correct date/time format? Has anyone used this
> successfully?
>
> Thanks

Personally, I use since_id.

But here's the documentation:
http://apiwiki.twitter.com/REST+API+Documentation#DirectMessageMethods

which contains this example:

# since.  Optional.  Narrows the resulting list of direct messages to
just those sent after the specified HTTP-formatted date, up to 24
hours old.  The same behavior is available by setting the
If-Modified-Since parameter in your HTTP request.

Ex: 
http://twitter.com/direct_messages/sent.xml?since=Tue%2C+27+Mar+2007+22%3A55%3A48+GMT

-damon

-- 
http://twitter.com/damon

Reply via email to