tweepy (python): rate limit exceeded code 88

依然范特西╮ 提交于 2019-12-01 08:54:23
Alex Garulli

I put a limit and worked:

def index(request):
    statuses = tweepy.Cursor(api.user_timeline).items(10)
    return TemplateResponse(request, 'index.html', {'statuses': statuses})
Shubham Harinkhede

This is due to you reached max limit. Just disconnect your internet connection and reconnect again, no need to wait. Use cursor:

statuses = tweepy.Cursor(api.user_timeline).items(2)

If you get the error again, just reduce items.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!