# fbchat-dev/fbchat

Facebook Chat (Messenger) for Python

Repository: https://github.com/fbchat-dev/fbchat
Canonical: https://ross.abutalabs.com/products/fbchat
Homepage: https://fbchat.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: facebook-messenger, facebook-messenger-bot, python, hacktoberfest
Last push: 2024-02-16T16:45:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4155, "days_push": 929, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1215, forks 405 (observed 2026-08-28T04:04:01.075879+00:00)

## What it is
fbchat is a Python library for interacting with Facebook Messenger using a regular Facebook account (email and password) rather than the official API. It supports sending and fetching messages, managing threads and groups, and listening to real-time events, but the project is officially unmaintained.

## Use cases
- build a facebook messenger bot in python
- send messages to facebook messenger programmatically
- fetch all messages from a facebook thread
- listen for incoming messenger messages in real time
- create and manage facebook group chats from a script
- automate replying to facebook messages

## When to choose
- you need an unofficial messenger client with a normal facebook account and accept the risk
- you're maintaining legacy code already built on fbchat

## When to avoid
- starting a new project, since the library is unmaintained and facebook changes may break it
- you need an officially supported integration - use Facebook's Messenger Platform API instead
- you need async/await support - it was never completed

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, chatbot
- domain: messaging-platforms, chatbots
- platform: python, cross-platform
- tags: facebook-messenger, unofficial-api, messaging, bot-framework, automation

## Member repositories
- fbchat-dev/fbchat (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.075879+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:16.057769+00:00, confidence not recorded.
  - readme: https://github.com/fbchat-dev/fbchat (fetched 2026-08-28T04:04:01.075879+00:00, sha d780ad55d165)
- Data as of 2026-08-30T08:39:29.467469+00:00.
