Skip to content

meta-api-versioning

Applies to: **/meta/**, **/facebook/**, **/tracking/**, **/capi/**

Meta Graph API versions follow a 2-year lifecycle with quarterly releases:

  • New version every quarter (January, April, July, October)
  • Each version supported for 2 years from release
  • After expiry, calls to deprecated versions return errors
VersionStatusNotes
v24.0CurrentLatest stable
v23.0Supported
v22.0Supported
v21.0SupportedApproaching EOL
v20.0 and belowDeprecatedWill return errors

Always verify current version support via WebSearch before implementing. Versions shift quarterly.

  • Pin the Graph API version in an environment variable (META_API_VERSION=v21.0)
  • Never use unversioned endpoints — they default to the oldest supported version
  • Check Meta’s changelog before upgrading versions
  • Test in development before switching production to a new version
  1. Check changelog — review breaking changes for the new version
  2. Test in development — update version env var, run full test suite
  3. Update production — change env var, deploy, monitor
  4. Verify — check Events Manager for event flow continuity

When a version approaches EOL (within 90 days):

  1. Check current version in use across all services
  2. Review migration guide for next version
  3. Test upgraded version in staging
  4. Update before expiry to avoid service disruption
Error CodeMeaningAction
2635Version deprecatedUpgrade immediately
190Invalid access tokenToken may have expired or lost permissions
100Invalid parameterCheck if parameter was removed in current version
4Rate limitedImplement exponential backoff
  • Use the same version across all services (Pixel, CAPI, Ads API, Graph API)
  • Don’t upgrade all services at once — stagger to isolate issues
  • Subscribe to Meta’s developer changelog for version announcements
  • Build version health monitoring into your application