Re: [twitter-dev] Re: Feature Request: Retrieve direct messages between requester and a single user

2010-04-23 Thread John Meyer

On 4/23/2010 10:58 AM, Orian Marx (@orian) wrote:

f having two endpoints for
sent / received DMs in the first place, as you end up needing to make
two calls and then sort everything (if you're trying to show a stream
of DM conversations).




But if you're not making them into a conversation it makes more sense 
(i.e. a history).



--
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] Re: Feature Request: Retrieve direct messages between requester and a single user

2010-04-23 Thread John Meyer

On 4/23/2010 9:39 AM, Taylor Singletary wrote:

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




Do we want one endpoint or two endpoints, one for all direct messages 
sent to a particular account and one for all direct messages sent from a 
particular user (maybe a filter on the current direct messages endpoint, 
perhaps)?



--
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


Re: [twitter-dev] Re: Feature Request: Retrieve direct messages between requester and a single user

2010-04-23 Thread Taylor Singletary
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
>