Graph API

The latest version is:

v8.0

The Graph API is the primary way for apps to read and write to the Facebook social graph. All of our SDKs and products interact with the Graph API in some way, and our other APIs are extensions of the Graph API, so understanding how the Graph API works is crucial.

If you are unfamiliar with the Graph API, we recommend that you start with these documents:

Overview

Learn how the Graph API is structured, what access tokens are, and how versions work.

Using the Graph API

Learn how to perform common operations.

Graph API Explorer

Learn how to build queries and receive responses from the Graph API with our Graph API Explorer app.

Reference

Learn how to read our reference documents so you can easily find what you're looking for.

Once you're familiar with the basics, you can move on to more advanced topics like the ones below:

  • Read our iOS, Android, JavaScript, PHP, or Third-party SDK documentation to learn how our SDKs interact with the Graph API.
  • Browse our Advanced Topics which cover more complex operations like field aliasing, multiple requests, and asynchronous batch requests.
  • Read our Upgrade Guide to learn how to upgrade to the latest version.