# facebookarchive/php-graph-sdk

The Facebook SDK for PHP provides a native interface to the Graph API and Facebook Login.  https://developers.facebook.com/docs/php

Repository: https://github.com/facebookarchive/php-graph-sdk
Canonical: https://ross.abutalabs.com/products/php-graph-sdk
Language: PHP
License: NOASSERTION
License Family: other
Archived: true
Last push: 2022-01-11T19:51:21+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4522, "days_push": 1695, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3210, forks 1939 (observed 2026-08-28T04:07:49.340713+00:00)

## What it is
The official Facebook SDK for PHP (v5), providing a native interface to the Facebook Graph API and Facebook Login from PHP applications. The repository has been archived by Facebook and is no longer actively maintained.

## Use cases
- fetch facebook user profiles from php
- implement facebook login in a php app
- call the facebook graph api from php
- get access tokens for facebook authentication
- post to facebook pages from a web app
- integrate facebook platform into a php backend

## When to choose
- you maintain a legacy PHP app already built on Graph API v2.x and need the original SDK
- you need the official helper classes for Facebook Login redirect, JavaScript, canvas, or page tab flows in PHP

## When to avoid
- you are starting a new project - the repo is archived and the Graph API versions it targets are deprecated
- you need support for current Graph API versions or modern PHP versions
- you want guaranteed security updates or bug fixes

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, http-client, auth, api-framework
- domain: apis, web-development, social-media, backend
- platform: php
- tags: facebook, graph-api, facebook-login, oauth, social-media-integration, archived, web-server

## Member repositories
- facebookarchive/php-graph-sdk (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:49.340713+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-30T07:24:44.171814+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/php-graph-sdk (fetched 2026-08-28T04:07:49.340713+00:00, sha 374dbd5747f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
