This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
fbchat/examples/basic_usage.py

11 lines
241 B
Python

from fbchat import Client
from fbchat.models import *
client = Client("<email>", "<password>")
print("Own id: {}".format(client.uid))
client.send(Message(text="Hi me!"), thread_id=client.uid, thread_type=ThreadType.USER)
client.logout()