$npx skillfedfor your agent

fbmessenger

A python library to communicate with the Facebook Messenger API's

SkipPyPI Build ToolsReleased Apr 2019280.4K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fbmessenger-6.0.0-py2.py3-none-any.whl
v6.0.0 · released 2019-04-24 · 1 runtime deps: requests

No. The package is abandoned (last release April 2019, last commit December 2022) and has not been updated to reflect changes in the Facebook Messenger API or modern Python versions. Unless you are maintaining legacy code that already depends on it, you should use an actively maintained alternative or build directly against the current Facebook Graph API.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Facebook app with Messenger product enabled, a page access token, and a publicly accessible webhook URL to receive callbacks from Facebook.
  • Installation is straightforward with low friction—a single wheel dependency on requests.
  • However, the package is abandoned; the last commit was in 2022 and no releases have occurred since April 2019, raising concerns about compatibility with current Facebook API changes and Python versions.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), so you may use, modify, and distribute the package freely in commercial and private projects without restriction.

last release 2019-04-24 (2669 days) · last repo commit 2022-12-08 · 113 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 280,412 downloads/mo, #8,111 on PyPI

Verify before relying

pip install fbmessenger

from fbmessenger import BaseMessenger, MessengerClient

class Messenger(BaseMessenger):
    def __init__(self, page_access_token):
        self.client = MessengerClient(page_access_token)
    def message(self, message):
        self.send({'text': 'Received'}, 'RESPONSE')
    def delivery(self, message): pass
    def read(self, message): pass
    def optin(self, message): pass
    def postback(self, message): pass
    def account_linking(self, message): pass

messenger = Messenger('your_page_token')
messenger.handle(webhook_payload)
  • Whether the package remains compatible with current Facebook Messenger API endpoints and authentication requirements.
  • Whether Python 3.3–3.5 support claims (in classifiers) reflect actual tested compatibility or are outdated.
  • Whether the package handles recent Facebook API breaking changes introduced after April 2019.
Same gist for agents: .md · .json

What it is and what it does

fbmessenger is a wrapper around the Facebook Messenger Send API that lets you build chatbots and message handlers in Python. You extend a BaseMessenger class to handle incoming webhook events (messages, deliveries, reads, postbacks, etc.) and use a MessengerClient to send text, buttons, templates, and media attachments back to users. It includes support for message tags, notification types, and timeouts on network calls.

The package is designed to integrate with Flask or similar web frameworks to receive and process webhook callbacks from Facebook. It abstracts away the HTTP plumbing and JSON serialization, letting you focus on the logic of responding to user messages. However, the project has not been maintained since 2019, so it may not reflect current Facebook API requirements or Python ecosystem best practices.

Use it for

  • Build a simple chatbot that responds to user messages on Facebook Messenger with text or templated replies.
  • Integrate Messenger into a Flask web app to handle incoming webhook events and send structured messages back.
  • Send rich message templates (generic, button, receipt) with images, links, and interactive buttons to Messenger users.
  • Upload and manage media attachments (images, audio, video, files) for use in Messenger conversations.
  • Implement message tags to send notifications outside the standard 24-hour message window for specific use cases.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last release April 2019, last commit December 2022) and has not been updated to reflect changes in the Facebook Messenger API or modern Python versions. Unless you are maintaining legacy code that already depends on it, you should use an actively maintained alternative or build directly against the current Facebook Graph API.

Install

fbmessenger on PyPI

Before you install

Installation is straightforward with low friction—a single wheel dependency on requests. However, the package is abandoned; the last commit was in 2022 and no releases have occurred since April 2019, raising concerns about compatibility with current Facebook API changes and Python versions.

Requires a Facebook app with Messenger product enabled, a page access token, and a publicly accessible webhook URL to receive callbacks from Facebook.

License in practice

Licensed under Apache (permissive), so you may use, modify, and distribute the package freely in commercial and private projects without restriction.

Quickstart

pip install fbmessenger

from fbmessenger import BaseMessenger, MessengerClient

class Messenger(BaseMessenger):
    def __init__(self, page_access_token):
        self.client = MessengerClient(page_access_token)
    def message(self, message):
        self.send({'text': 'Received'}, 'RESPONSE')
    def delivery(self, message): pass
    def read(self, message): pass
    def optin(self, message): pass
    def postback(self, message): pass
    def account_linking(self, message): pass

messenger = Messenger('your_page_token')
messenger.handle(webhook_payload)

Verify before relying

  • Whether the package remains compatible with current Facebook Messenger API endpoints and authentication requirements.
  • Whether Python 3.3–3.5 support claims (in classifiers) reflect actual tested compatibility or are outdated.
  • Whether the package handles recent Facebook API breaking changes introduced after April 2019.

Package facts

LicenseApache permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
requests
MaintenanceAbandoned 2,669 days since the last release
Last repo commit
First released
Downloads280,412 / month, #8,111 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Software Development :: Build Tools

Evidence: fbmessenger-6.0.0-py2.py3-none-any.whl

Tags

Capabilities
facebook messenger api pythonsend messages facebook messengerfacebook chatbot librarymessenger webhook handlerfacebook bot pythonmessenger api clientfacebook message templates
Topics
facebook-integrationchatbotwebhook-handler
PyPI keywords
FacebookMessengerBotChatbot

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “facebook messenger api python”

  • fbmessengerA Python library for sending and receiving messages through the…
  • rasaRasa is an open-source machine learning framework for building text…
  • facebook-sdkA Python client library for the Facebook Graph API that handles…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also facebook-sdk · slackweb · onesignal-python-api · azure-communication-email · discord-webhook · telebot · pushbullet.py · python-oxmsg · vonage-messages