List of direct messages is incomplete
It seems that the list of direct messages isn't fetched completely

A bit of technical background: For these conversations, Twitter basically gives us 2 relevant API points:
-
1.1/direct_messagesto retrieve DMs received by the user(i.e. sent to the user) -
1.1/direct_messages/sentto retrieve DMs sent by the user
As you can see, there's no API to actually just retrieve the conversations as you can see them on twitter.com. So what we do is, we just use 1.1/direct_messages to retrieve direct messages sent to the user(i.e. the user received them at some point) and we create a new conversation for each DM with a sender that has no conversation yet.
But the limit of direct messages we can retrieve in one batch is 200 and we(currently) only use one API call, so if any of those messages(e.g. some your conversation from 2011) are behind that 200-DM-wall(i.e. you wrote over 200 direct messages since then), it won't show up.
Now it's easily possible that this is currently not the case because we're not even setting the count parameter when retrieving the messages and it therefore defaults to 20(yes, just... 20).
Increasing it would be very easy but I have absolutely no testcase(I get all the messages I ever received with this one call...) to check if that works well. I will send myself a direct messages over the next few days(I have a few train rides coming) to see how the current code works with that amount of messages.
I pushed 70ccd3b96014b23ae146d3c6588be430d74a0a37 which - while it's not perfect - should improve the situation.
doesn't support multi person DM yet
I'm sorry to necrobump this, but I'm trying to see if a few of the long-standing open issues are actually still relevant. I don't seem to encounter any missing DM's anymore. My list seems complete when comparing it to the DM list on twitter.com Is anyone else still experiencing this issue?
It's not fixed, we only download 200 messages maximum, while the twitter server saves up to 800 (all this is theoretical and from the docs, I don't know if this information is still up to date or if the twitter server even sticks to it).