【发布时间】:2013-06-20 04:28:34
【问题描述】:
我有错误:
tweepy.error.TweepError: [{'message': 'Twitter REST API v1 没有 更长时间的活跃。请迁移到 API v1.1。 https://dev.twitter.com/docs/api/1.1/overview.', '代码': 68}]
我该怎么办? 如何迁移到新的 twitter API?
【问题讨论】:
我有错误:
tweepy.error.TweepError: [{'message': 'Twitter REST API v1 没有 更长时间的活跃。请迁移到 API v1.1。 https://dev.twitter.com/docs/api/1.1/overview.', '代码': 68}]
我该怎么办? 如何迁移到新的 twitter API?
【问题讨论】:
看起来您使用的不是最新的tweepy 版本。尝试直接从github安装(现在是2.1版本):
git clone https://github.com/tweepy/tweepy.git
python setup.py install
希望就是这样。
如果没有,添加产生错误的代码。
【讨论】: