Unable to get older direct messages

directmessages
api

#1

Using the API console, I’m using the GET request for direct messages sent:
https://api.twitter.com/1.1/direct_messages/sent.json?count=30&max_id=639484407095541765

It return message with id 639484407095541765 but not any older messages even though I can verify they exist on the account.

I am facing the same problem with direct messages received as well. Any solutions?


#2

Are there more than 800 of them? https://dev.twitter.com/rest/reference/get/direct_messages/sent you can set count=200 to get more per call, to make fewer requests btw.


#3

Even when I set count=200, I don’t see the older messages. I also verified that this problem occurs with a different account. Any idea why?


#4

Beats me! I don’t have that many old DMs to reproduce something like that. Maybe someone else can try?