0

Title says it all.

If I use print(api.list_direct_messages(count = 20)), the result is just [], despite receiving many DMs.

get.direct.message(id) has also not worked, since I haven't figured out how to find the ID of a specific direct message.

Any help would be appreciated!

Yagiz Degirmenci
  • 16,595
  • 7
  • 65
  • 85
  • One reason you may be getting an an empty list returned is, your messages may be older than 30 days. Tha API only returns messages, both sent and received less than 30 days old. I covered a workaround for getting ID's of tweets here; https://stackoverflow.com/questions/42603493/get-latest-direct-message-from-twitter-using-python-tweepy/61550715#61550715 – The Voyager May 28 '20 at 14:43
  • I get a lot of DMs, so that isn't the problem, thank you though. – Johnny Connolly May 30 '20 at 00:14

0 Answers0