FdMon
FdMon

Reputation: 121

I am not able to get direct messages with Tweepy

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!!!

Upvotes: 0

Views: 150

Answers (1)

Harmon758
Harmon758

Reputation: 5157

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

Upvotes: 0

Related Questions