Meta removes Graph API v21.0 on January 21, 2027, v22.0 on May 20, 2027 and v23.0 on October 8, 2027. Calls pinned to a removed version are then answered by the oldest version still available, picking up its changes with no change in your code.
| Graph API version | Introduced | Available until |
|---|---|---|
| v21.0 | October 2, 2024 | January 21, 2027 |
| v22.0 | January 21, 2025 | May 20, 2027 |
| v23.0 | May 29, 2025 | October 8, 2027 |
| v24.0 | October 8, 2025 | February 18, 2028 |
| v25.0 | February 18, 2026 | July 29, 2028 |
| v26.0 and v27.0 | July 29, 2026 and November 4, 2026 | TBD |
Meta's versioning guide says a version stops working two years after the next one ships, but the table doesn't always match that rule to the day: v22.0's May 20, 2027 is nine days before the second anniversary of v23.0's release, so go by the table. So far the v23.0 date appears only in that table; the v23.0 changelog page still gives the Graph API "Available until TBD", and the v27.0 changelog and announcement list only the v21.0 and v22.0 removals.
The v27.0 changelog's Meta Business SDK notes also list Facebook Platform SDK v21.0 as deprecated in January 2027 and v22.0 in May 2027, with no day, no definition of the name and nothing yet for v23.0. Business SDKs carry the API version in their number (Python and Node.js 21.0.5 call v21.0); the iOS and Android SDKs, now at 19.0.1, don't.
/v21.0/ call is answered as v22.0 from January 21, 2027, v23.0 from May 20 and v24.0 from October 8, 2027, each time with that version's changes; calls pinned to v20.0 (removed September 24, 2026) or older already get v21.0. The facebook-api-version response header shows which version answered.X-Ad-Api-Version-Warning header, and a Marketing API Version setting turns upgrades off. Meta's Marketing API versioning page says unversioned calls fail (the App Dashboard Advanced Settings page describes a Marketing API default version for unversioned calls) and dates the auto-upgrade from May 2024; a Graph API changelog warning says it will be released on July 29, 2026.v21.0, v22.0 or v23.0 in graph.facebook.com URLs, or on a Business SDK release with that number.www.facebook.com/v21.0/dialog/oauth, the version in FB.init, which also applies to FB.api() calls and Login dialogs, and versioned plugin iframes.# Versioned URLs and dialog paths
grep -rnE "facebook\.com/v[0-9]+\.[0-9]+" --exclude-dir={.git,node_modules,Pods,build} .
# Version settings and constants
grep -rnE "graphAPIVersion|setGraphApiVersion|FB\.init|['\"]v(1[0-9]|2[0-3])\.0['\"]" --exclude-dir={.git,node_modules,Pods,build} .
# Facebook SDK versions your apps resolve
grep -rn --include=Package.resolved -A5 "facebook-ios-sdk" .
grep -n "FBSDKCoreKit" Podfile.lock
./gradlew :app:dependencies | grep "com.facebook.android"
Settings.shared.graphAPIVersion and version: arguments on GraphRequest.FacebookSdk.setGraphApiVersion(), the version property of GraphRequest, and graph paths that already start with a version, such as /v21.0/me.https://github.com/meta/facebook-ios-sdk (Up to Next Major); the repository moved there in 19.0.1, and old URLs redirect, but Meta asks Swift Package Manager users to update the URL. Remove or update old graphAPIVersion overrides.arm64e slice that can stop arm64-only apps launching on iOS 17 and 18 after an App Store update (could not register fairplay decryption). It says apps on those versions can strip the slice in a build phase with lipo -remove arm64e until they update; the fix isn't in a release yet.com.facebook.android:facebook-android-sdk (or facebook-core, facebook-login, facebook-share) to 19.0.1, the latest on Maven Central as of November 25, 2026, pinned rather than the latest.release in Meta's getting-started page. With a v16.0 default in the source, set the version on your own requests, as Meta's versioning guide recommends:
// Kotlin: "v27.0" is an example; use the version you tested
val request = GraphRequest.newMeRequest(accessToken) { obj, response ->
// handle obj and response
}
request.version = "v27.0"
request.executeAsync()
FacebookSdk.setGraphApiVersion() also moves the SDK's own requests and dialogs. Meta's code logs a warning about calling it "from non-DEBUG code", but the check looks at the SDK's own build, so the 19.0.1 release on Maven Central logs it on every call.Keep the version in one setting and change it once:
# Python: one setting for the version ("v27.0" is an example)
import os
GRAPH_VERSION = os.environ.get("META_GRAPH_VERSION", "v27.0")
BASE_URL = f"https://graph.facebook.com/{GRAPH_VERSION}"
# Shell: which version answered?
curl -s -G -D - -o /dev/null -d "access_token=$META_TOKEN" \
"https://graph.facebook.com/v27.0/me" | grep -i facebook-api-version
With a Business SDK, upgrade to the release line for your target. Move Marketing API calls to v26.0 or later; the Marketing API changelog ends v25.0 on February 23, 2027 (the Graph API changelog says TBD).
pretty and debug ignored, date_format and GET /?ids= return errors, no ETag or 304). The v27 announcement adds that from November 4, 2026, on every version, new apps can't use multi-ID requests, date_format, method override, field aliases, JSONP callbacks or async batch requests, and existing apps can't add new uses; the features not already deprecated in v26.0 stop working for v28.0 requests.facebook-api-version in tests, alert on X-Ad-Api-Version-Warning, and re-read the changelog before May 20 and October 8, 2027.