I am aware of the example in the documentation.
Thanks for pointing it out and I apologize for not mentioning before
that I had tried the format listed in the documentation.

For example:
$this->twitterHost .= "direct_messages.xml?since=Sun%2C+26+Oct
+22%3:55%3:48+000+2008";
results in error number 502 (server busy) and "Twitter is over
capacity" message.
Not sure why the API does not throw a format error?

I saw a post (http://groups.google.com/group/twitter-development-talk/
browse_thread/thread/e97f02c8b8012fb5) which mentions that the API
conforms to RFC1123 but that does not work either.

Any thoughts?

Thanks

On Oct 27, 4:35 pm, "Damon Clinkscales" <[EMAIL PROTECTED]> wrote:
> 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+...
>
> -damon
>
> --http://twitter.com/damon- Hide quoted text -
>
> - Show quoted text -

Reply via email to