--- id: facebook-sdk version: "3.1.0" license: Apache license_treatment: permissive maintenance: dormant --- # 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. License: permissive · Maintenance: dormant · Downloads: 461.6K/mo ## 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 above — verify before relying. A Python client library for the Facebook Graph API that handles authentication and API requests to Facebook services. 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 pip install facebook-sdk uv add facebook-sdk poetry add facebook-sdk ## Installing facebook-sdk 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. 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') Requires a valid Facebook access token; Graph API credentials must be obtained from Facebook's developer console. 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: unspecified - Install friction: low - Maintenance: dormant - Downloads: 461.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags facebook graph api client, facebook authentication python, facebook sdk python, facebook api wrapper, facebook login integration, facebook graph requests, facebook python library, facebook-integration, social-media-api, legacy-maintained [View on SkillFed](https://skillfed.io/packages/facebook-sdk) · [View on PyPI](https://pypi.org/project/facebook-sdk/)