Try to use PostDirectMessage from python-twitter but it does not work

directmessages

#1

Hi,

I’m quite lost - used Python with twitter but this doesn’t work anymore and know I’m trying to use python-twitter
PostUpdate works but PostDirectMessage doesn’t work anymore - I always get the error message

twitter.error.TwitterError: [{u’message’: u’Sorry, that page does not exist.’, u’code’: 34}]

How could I solve this issue ?
Thanks


#2

It looks like python-twitter has a pre-release of the new DM API ready.


#3

now I know what you mean - official release is 3.4.2
I download the version 3.5 and installed it from local
Works again :slight_smile:
Thanks


#4

Glad to hear that everything is working again. And just to add some context here, this is the latest announcement related to the retirement of the legacy DM endpoints:


#5