$npx skillfedfor your agent

facebook-business

Facebook Business SDK

Worth itPyPI WWW/HTTPReleased Aug 20268.5M downloads / moLICENSE.txtPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — facebook_business-26.0.0-py3-none-any.whl
v26.0.0 · released 2026-08-06 · 6 runtime deps: requests, six, curlify, pycountry, capi-param-builder-python, aiohttp

Yes. The package is actively maintained, has low install friction, and is popular on PyPI with many monthly downloads. It is the official Facebook-provided SDK for Python developers needing to work with Facebook Business APIs. The main caveat is that the license treatment is unclear—verify LICENSE.txt before use in sensitive contexts. No known security vulnerabilities are recorded.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a registered Facebook app, app secret, and a valid access token with appropriate permissions (e.g., ads_management for Marketing API, manage_page for Pages API).
  • Low friction installation via pip with a pure-Python wheel.
  • Actively maintained with a recent release and 1577 GitHub stars.

License · maintenance · safety

LICENSE.txt (unclear) — License treatment is unclear—the package references LICENSE.txt but provides no SPDX identifier. Review the repository's LICENSE.txt file directly before adopting in commercial or copyleft-sensitive projects.

last release 2026-08-06 (8 days) · last repo commit 2026-08-06 · 1,577 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,541,559 downloads/mo, #1,607 on PyPI

Verify before relying

pip install facebook_business

from facebook_business.api import FacebookAdsApi
from facebook_business.adobjects.adaccount import AdAccount

FacebookAdsApi.init(app_id, app_secret, access_token)
account = AdAccount('act_<account_id>')
campaigns = account.get_campaigns()
  • Exact Python version support range—description mentions Python 2 and 3 compatibility but requires_python is unspecified.
  • Whether Python 2 support is still actively maintained given its end-of-life status.
  • Current state of deprecated methods (remote_create, remote_read, remote_update, remote_delete) and timeline for removal.
Same gist for agents: .md · .json

What it is and what it does

The Facebook Business SDK is a unified Python client for Facebook's suite of business-facing APIs. It abstracts the Graph API into object-oriented classes representing ad accounts, campaigns, pages, and Instagram business entities, implementing a CRUD (create, read, update, delete) pattern for each. The SDK bundles multiple APIs—Marketing, Pages, Business Manager, and Instagram—that would otherwise require separate integrations, reducing implementation overhead for partners managing multiple Facebook properties.

Developers initialize the SDK with an app ID, app secret, and access token, then instantiate objects (AdAccount, Campaign, etc.) and call methods like get_campaigns() or api_update() to interact with Facebook's infrastructure. The package depends on requests for HTTP transport, aiohttp for async operations, and several utility libraries. It is maintained by Facebook and sees regular updates; the latest release is recent and the repository is active.

Use it for

  • Programmatically create and manage ad campaigns across multiple ad accounts without manually calling Graph API endpoints.
  • Retrieve campaign performance metrics and ad account details for reporting or dashboard integration.
  • Automate bulk operations on Pages or Instagram business accounts (e.g., publishing, moderation) via a single SDK.
  • Build internal tools or third-party applications that need to read/write ad account data on behalf of clients.
  • Integrate Facebook advertising into a larger marketing automation or analytics platform.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has low install friction, and is popular on PyPI with many monthly downloads. It is the official Facebook-provided SDK for Python developers needing to work with Facebook Business APIs. The main caveat is that the license treatment is unclear—verify LICENSE.txt before use in sensitive contexts. No known security vulnerabilities are recorded.

Install

facebook-business on PyPI

Before you install

Low friction installation via pip with a pure-Python wheel. Actively maintained with a recent release and 1577 GitHub stars. Six runtime dependencies are all well-established packages (requests, aiohttp, six, curlify, pycountry, capi-param-builder-python).

Requires a registered Facebook app, app secret, and a valid access token with appropriate permissions (e.g., ads_management for Marketing API, manage_page for Pages API).

License in practice

License treatment is unclear—the package references LICENSE.txt but provides no SPDX identifier. Review the repository's LICENSE.txt file directly before adopting in commercial or copyleft-sensitive projects.

Quickstart

pip install facebook_business

from facebook_business.api import FacebookAdsApi
from facebook_business.adobjects.adaccount import AdAccount

FacebookAdsApi.init(app_id, app_secret, access_token)
account = AdAccount('act_<account_id>')
campaigns = account.get_campaigns()

Verify before relying

  • Exact Python version support range—description mentions Python 2 and 3 compatibility but requires_python is unspecified.
  • Whether Python 2 support is still actively maintained given its end-of-life status.
  • Current state of deprecated methods (remote_create, remote_read, remote_update, remote_delete) and timeline for removal.

Package facts

LicenseLICENSE.txt unclear
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
requestssixcurlifypycountrycapi-param-builder-pythonaiohttp
MaintenanceActively maintained 8 days since the last release
Last repo commit
First released
Downloads8,541,559 / month, #1,607 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: facebook_business-26.0.0-py3-none-any.whl

Tags

Capabilities
facebook marketing api pythonfacebook ads sdkfacebook business api clientmanage facebook campaigns programmaticallyfacebook graph api wrapperinstagram business api pythonfacebook pages api sdk
Topics
facebook-apimarketing-automationsocial-media-sdk

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 marketing api python”

  • facebook-businessProvides Python bindings to Facebook's Business APIs, bundling…
  • facebook-sdkA Python client library for the Facebook Graph API that handles…
  • fbmessengerA Python library for sending and receiving messages through the…

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also advertools · facebook-sdk · tiktok-business-api-sdk-official · pinterest-api-sdk · apache-airflow-providers-facebook · twitter-ads · klaviyo-api · bingads · Pinterest-Generated-Client · sib-api-v3-sdk