
我试了两天的代码,我得到了我的VS代码编辑器的消息,可以请任何人帮助我解决问题。
码
from instabot import Bot
bot = Bot()
bot.login(username="the_username_hidden" , password="password_hidden")
print("done")消息获取
2021-04-26 06:38:18,970 - INFO - Instabot version: 0.117.0 Started
2021-04-26 06:38:18,971 - INFO - Not yet logged in starting: PRE-LOGIN FLOW!
2021-04-26 06:38:19,434 - ERROR - Request returns 429 error!
2021-04-26 06:38:19,434 - WARNING - That means 'too many requests'. I'll go to sleep for 5 minutes.
2021-04-26 06:43:20,237 - ERROR - Request returns 429 error!
2021-04-26 06:43:20,237 - WARNING - That means 'too many requests'. I'll go to sleep for 10 minutes.
2021-04-26 06:53:21,001 - ERROR - Request returns 429 error!
2021-04-26 06:53:21,001 - WARNING - That means 'too many requests'. I'll go to sleep for 15 minutes.发布于 2021-06-15 04:29:04
#有了睡眠,这是行不通的。发生此错误是因为您发出的请求太多。bot = Bot()
bot.login(...)试试这个,让我知道它是否有效。可能是侥幸。
发布于 2022-05-26 07:35:26
Facebook已经禁止了所有的机器人和API。你需要在Facebook开发者网站注册。https://developers.facebook.com/
Instagram API:https://developers.facebook.com/docs/instagram-basic-display-api/overview/#authorization-window
https://stackoverflow.com/questions/67259837
复制相似问题