我正在尝试这个例子
import tweepy
public_tweets = tweepy.api.public_timeline()
for tweet in public_tweets:
print tweet.text但是我得到了这个错误。
tweepy.error.TweepError: Twitter error response: status code = 301有什么建议或地方可以找到使用tweepy的示例项目吗?
发布于 2013-11-13 07:05:53
你用的是哪个tweepy版本的,实际上是?跑
python -c "import tweepy; print(tweepy.__version__)"公共时间线是Twitter API 1.0 endpoint,并不存在于Twitter API 1.1中。
一年前的Removed from tweepy。
https://stackoverflow.com/questions/19941483
复制相似问题