Hi,

While writing the Api for my client I came across an inconsistency in
the XML API and I would like to ask, if this is deliberate or
accidental.

The API documentation suggests to use the "since_id" parameter to
lessen the load on the servers. That worked fine when using the
"friends_timeline" method (XML URL: 
http://twitter.com/statuses/friends_timeline.xml),
but when I tried using it for the direct_messages feed (http://
twitter.com/direct_messages.xml), I got an unexpected result, when I
requested the feed with a "since_id" parameter that generated an empty
list of responses.

The friends_timeline returns an empty array with the right tag
(although it is not quite correctly formed), as expected:
<statuses type="array"></statuses>

But the direct_messages method uses a totally different tag (again not
correctly formed):
<nilclasses type="array"></nilclasses>

I would have expected the following result:
<direct-messages type="array" />
or
<direct-messages type="array"></direct-messages>

Thanks for looking into this.

-Robert

Reply via email to