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.
Nikolaos Karaolidis 769b034d38 Update path
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2023-06-20 15:17:34 +03:00
2023-03-29 15:42:15 +03:00
2023-03-28 14:50:52 +03:00
2020-06-14 23:18:07 +02:00
2020-01-09 13:19:10 +01:00
2020-01-22 23:59:47 +01:00
2023-06-20 15:17:34 +03:00
2023-03-28 11:59:32 +03:00
2023-06-20 15:17:34 +03:00

``fbchat`` - Facebook Messenger for Python
==========================================

A powerful and efficient library to interact with
`Facebook's Messenger <https://www.facebook.com/messages/>`__, using just your email and password.

This is *not* an official API, Facebook has that `over here <https://developers.facebook.com/docs/messenger-platform>`__ for chat bots. This library differs by using a normal Facebook account instead.

``fbchat`` currently support:

- Sending many types of messages, with files, stickers, mentions, etc.
- Fetching all messages, threads and images in threads.
- Searching for messages and threads.
- Creating groups, setting the group emoji, changing nicknames, creating polls, etc.
- Listening for, an reacting to messages and other events in real-time.
- Type hints, and it has a modern codebase (e.g. only Python 3.5 and upwards).

Essentially, everything you need to make an amazing Facebook bot!


Version Warning
---------------
``v2`` is currently being developed at the ``master`` branch and it's highly unstable.


Caveats
-------

``fbchat`` works by imitating what the browser does, and thereby tricking Facebook into thinking it's accessing the website normally.

However, there's a catch! **Using this library may not comply with Facebook's Terms Of Service!**, so be responsible Facebook citizens! We are not responsible if your account gets banned!

Additionally, **the APIs the library is calling is undocumented!** In theory, this means that your code could break tomorrow, without the slightest warning!


Installation
------------

.. code-block::

    $ pip install git+https://git.karaolidis.com/karaolidis/fbchat.git


Acknowledgements
----------------

This project is a fork of `fbchat <https://github.com/fbchat-dev/fbchat>`__ and was originally inspired by `facebook-chat-api <https://github.com/Schmavery/facebook-chat-api>`__.
Description
Fork - Facebook Chat (Messenger) for Python
Readme 3.5 MiB
Languages
Python 100%