最近我一直在学习如何使用fbchat模块。我一直在遵循我在网上学到的教程中的确切代码
这是我的代码:
from fbchat import Client
username = str(input("Username: "))
password = str(input("Password:"))
client = Client(username, password)
但是,我无法登录到我的facebook帐户。我确信我的证件是正确的。 程序给了我这个错误:
Attempt #1 failed, retrying
Traceback (most recent call last):
File "C:\Users\mote\OneDrive\Desktop\fbchat\venv\lib\site-packages\fbchat_client.py", line 209, in login
user_agent="user_agent",
File "C:\Users\mote\OneDrive\Desktop\fbchat\venv\lib\site-packages\fbchat_state.py", line 153, in login
"(Failed on url: {})".format(r.url)
fbchat._exception.FBchatUserError: Login failed. Check email/password. (Failed on url: https://m.facebook.com/checkpoint/?_rdr)
我能做些什么来解决这个问题
目前没有回答
相关问题 更多 >
编程相关推荐