0

I've used Tweepy for a year, but now I face a problem that I´m not able to fix.

I want to get direct messages sent:

api.list_direct_messages(100)

but I have this error message:

TypeError: list_direct_messages() takes 1 positional argument but 2 were given

Any idea? Thanks!!!

Harmon758
  • 5,084
  • 3
  • 22
  • 39
FdMon
  • 121
  • 9
  • 1
    I'm unable to reproduce this. What version of Tweepy and Python are you using? Can you provide the full traceback? What happens when you specify it as the `count` kwarg? – Harmon758 Dec 27 '19 at 00:21
  • It was my fault. Now I´m using the latest tweepy version and it´s working correctly – FdMon Dec 27 '19 at 21:45

1 Answers1

0

This was resolved by updating to the latest version of Tweepy:

It was my fault. Now I´m using the latest tweepy version and it´s working correctly

Harmon758
  • 5,084
  • 3
  • 22
  • 39