Facebook

Social Media

The Facebook Graph API

Access billions of data points with the Facebook graph API. Manage your pages, ads spend and more.

Popular Endpoints

get /v12.0/{accountId}/media

Use this endpoint

get /v12.0/{param1}/published_posts

Use this endpoint

get /v12.0/{param1}/ratings

Use this endpoint

get /v12.0/me

Use this endpoint

Key API Info

Official links
Base endpoint
https://graph.facebook.com/
Authentication
Bearer token via OAuth 2.

Read more

Pagination
Cursor-based pagination, using tokens in the next and previous fields.

Read more

Rate limits
Generally at least 200 calls/person/hour.
Special notes
Facebook's Graph API inspired the GraphQL language. It's incredibly powerful, but also fairly complex. You'll want to read their Graph API Overview.

Read more