AmauryCarrade / MastodonToTwitter

Mastodon <-> Twitter cross-poster.
MIT License
250 stars 41 forks source link

Twitter API changes #63

Open joachimesque opened 5 years ago

joachimesque commented 5 years ago

Here's the error I stumbled upon while testing the program.

Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/claude/MastodonToTwitter/mtt/twitter_to_mastodon.py", line 54, in run
    for tweet in self.twitter_api.GetUserStream():
  File "/home/claude/.local/lib/python3.6/site-packages/twitter/api.py", line 4692, in GetUserStream
    data = self._ParseAndCheckTwitter(line.decode('utf-8'))
  File "/home/claude/.local/lib/python3.6/site-packages/twitter/api.py", line 4933, in _ParseAndCheckTwitter
    raise TwitterError({'Unknown error': '{0}'.format(json_data)})
twitter.error.TwitterError: {'Unknown error': 'The Site Streams and User Streams endpoints have been turned off. Please migrate to alternate APIs. See https://t.co/usss'}

It seems that posting from Twitter to Mastodon won't work.