Hi Orian,
Definitely think it would be useful and I've added it to my bucket of useful
API ideas. We're focused on a number of projects right now, but I'm
definitely keeping track of good ideas like this one for when the team has
some feature selection flexibility in the future.
Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod
On Fri, Apr 23, 2010 at 8:32 AM, Orian Marx (@orian) wrote:
> So no one else would find this useful?
>
> On Apr 20, 12:34 pm, "Orian Marx (@orian)"
> wrote:
> > I think it would be incredibly helpful to have an endpoint where we
> > could request direct messages sent back and forth between an
> > authorized user and some other user. This would make it significantly
> > easier to allow users to move backward through conversations with a
> > single user. Right now the only alternative is potentially making lots
> > of calls to direct_messages and direct_messages/sent hoping to come
> > across dms specific to that one user.
> >
> > I imagine this endpoint would look like this:
> >
> > url:http://api.twitter.com/1/direct_messages/between.xml(json)
> >
> > parameters:
> > * user_id. Specifies the ID of the user whose private conversations
> > with the authenticated user should be returned.
> > * screen_name. Specifies the screen name of the user whose private
> > conversations with the authenticated user should be returned.
> > * since_id. Optional. Returns only direct messages with an ID
> > greater than (that is, more recent than) the specified ID.
> > * max_id. Optional. Returns only statuses with an ID less than (that
> > is, older than) or equal to the specified ID.
> > * count. Optional. Specifies the number of direct messages to
> > retrieve. May not be greater than 200.
> > * page. Optional. Specifies the page of direct messages to retrieve.
> >
> > It would also be helpful to have an endpoint that retrieved new dms
> > sent or received since some id, instead of having to make calls to two
> > endpoints as we currently do, but I imagine user streams probably
> > covers this need.
> >
> > @orian
> >
> > --
> > Subscription settings:
> http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
>