But we don't want the last message in the user's timeline but rather
the last message that the user created.  There could be a difference.

D.

On Sat, Oct 3, 2009 at 10:08 AM, Vassil Dichev <[email protected]> wrote:
>> I think "Mailbox" returns the message that are in the user's timeline
>> rather than the messages the user sent.
>>
>> @Vassil: is that correct?
>
> Yes, that's right. For the last message, there's a similar example in
> TwitterAPI.scala:
>
>    val lastMsg = Message.findAll(By(Message.author, user),
>                                  OrderBy(Message.id, Descending),
>                                  MaxRows(1))
>

Reply via email to