facebook-sdk
This client library is designed to support the Facebook Graph API and the official Facebook JavaScript SDK, which is the canonical way to implement Facebook authentication.
Decision gist · record as of 2026-08-14
Yes, if you are maintaining legacy code or need a simple, lightweight Graph API client with no active security vulnerabilities. No, if you are starting a new project—the 2018-11-06 release date and dormant status mean it may not support current Facebook API features, authentication methods, or recent Python versions. Verify compatibility with your target Facebook API version before adopting.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Facebook access token; Graph API credentials must be obtained from Facebook's developer console.
- Installation is straightforward with minimal dependencies.
- However, the package is dormant—last release was 2018-11-06, with the most recent commit in 2024-08-02.
License · maintenance · safety
Apache (permissive) — Licensed under Apache License, version 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions.
last release 2018-11-06 (2838 days) · last repo commit 2024-08-02 · 2,793 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 461,575 downloads/mo, #6,532 on PyPI
Alternatives
Verify before relying
pip install facebook-sdk
import facebook
graph = facebook.GraphAPI(access_token='your_token')
profile = graph.get_object('me')- Whether the package remains compatible with current Facebook Graph API versions and authentication flows
- Whether Python 3.7+ support is accurate given the 2018 release date and lack of recent updates
What it is and what it does
facebook-sdk is a Python wrapper around Facebook's Graph API, the primary interface for programmatic access to Facebook data and services. It simplifies making authenticated requests to Facebook endpoints by handling the HTTP layer through its single runtime dependency, requests.
The library was designed to work alongside Facebook's official JavaScript SDK for authentication flows. It supports Python 2.7 and Python 3.x as declared in classifiers, though it has not been actively maintained since 2018-11-06. With 2793 GitHub stars and steady download volume, it remains widely used despite its dormant status.
Use it for
- Retrieve user profile data and social graph information from Facebook accounts after authentication
- Post content, manage pages, or interact with Facebook objects programmatically
- Integrate Facebook login into Python web applications as part of an authentication flow
- Query Facebook Insights data or analytics for pages and apps
- Build bots or automation tools that interact with Facebook's API
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are maintaining legacy code or need a simple, lightweight Graph API client with no active security vulnerabilities.
No, if you are starting a new project—the 2018-11-06 release date and dormant status mean it may not support current Facebook API features, authentication methods, or recent Python versions. Verify compatibility with your target Facebook API version before adopting.
Install
facebook-sdk on PyPI
Before you install
Installation is straightforward with minimal dependencies. However, the package is dormant—last release was 2018-11-06, with the most recent commit in 2024-08-02. No active maintenance should be assumed.
Requires a valid Facebook access token; Graph API credentials must be obtained from Facebook's developer console.
License in practice
Licensed under Apache License, version 2.0, a permissive open-source license that allows commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install facebook-sdk
import facebook
graph = facebook.GraphAPI(access_token='your_token')
profile = graph.get_object('me')
Verify before relying
- Whether the package remains compatible with current Facebook Graph API versions and authentication flows
- Whether Python 3.7+ support is accurate given the 2018 release date and lack of recent updates
Package facts
| License | Apache permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Dormant 2,838 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 461,575 / month, #6,532 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7 |
Evidence: facebook_sdk-3.1.0-py2.py3-none-any.whl
Tags
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 graph api client”
- facebook-sdkA Python client library for the Facebook Graph API that handles…
- facebook-businessProvides Python bindings to Facebook's Business APIs, bundling…
- 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 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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also facebook-business · fbmessenger · fastapi-sso · django-authlib · msgraph-sdk · apache-airflow-providers-facebook · python-consul2 · onelogin · fb-idb · django-analytical