Update fetch.py
Solved the exception: TypeError: __init__() takes 1 positional argument but 2 were given
This commit is contained in:
@@ -2,7 +2,7 @@ import fbchat
|
||||
|
||||
session = fbchat.Session.login("<email>", "<password>")
|
||||
|
||||
client = fbchat.Client(session)
|
||||
client = fbchat.Client(session=session)
|
||||
|
||||
# Fetches a list of all users you're currently chatting with, as `User` objects
|
||||
users = client.fetch_all_users()
|
||||
|
Reference in New Issue
Block a user