-
Notifications
You must be signed in to change notification settings - Fork 955
twitter.error.TwitterError: [{'message': 'Sorry, that page does not exist.', 'code': 34}]
while trying to get direct messages
#592
Comments
Deleting a message via the same API appears to fail as well: |
I am encountering this issue as well, for |
I have the same issue using python 3.6.5 |
i have same problem with python 3.7 |
That endpoint was deprecated. It’s not your python version. We’ll be working on implementing support for the new endpoints shortly. |
The issue is still present. (twitter-python version: 3.5) |
The issue is still very present as can be seen by my thread in Feb. 2 that still hasn't done anything. |
Anyone that needs a quick fix can go to this comment |
any news? |
use a different API, this one is basically dead |
I'm getting a
twitter.error.TwitterError: [{'code': 34, 'message': 'Sorry, that page does not exist'}]
on python 3.5 usingpython-twitter==3.5.0
. I've been reading through an older issue #587 and that doesn't seem to work properly.Api.GetDirectMessages
usesurl = '%s/direct_messages.json' % self.base_url
(https://github.com/bear/python-twitter/blob/v3.5/twitter/api.py#L2920), which appears to be the old url.I changed it to
url = '%s/direct_messages/events/list.json' % self.base_url
and now run into this:The text was updated successfully, but these errors were encountered: