> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Facebook Pages source for ELT & CDC

> Configure Facebook Pages as a data source in Integrate.io ELT & CDC. Sync page insights and engagement metrics to your data warehouse.

| | |
| :- | :- |
| **Description** | The Pages API is a set of Facebook Graph API endpoints that apps can use to create and manage a Page's settings and content. |
| **Supported Replication** | Initial Sync, Continuous Sync |
| **Authentication Type** | OAuth |

## Collections

| **Collection Name** | **Full/**   **Initial Sync** | **Incremental/**   **Continuous Sync** | **Supports Update** | **Supports Delete** |
| :- | :- | :- | :- | :- |
| pages | ✔ | ✖ | | |
| page\_agencies | ✔ | ✔ | | |
| page\_albums | ✔ | ✔ | | |
| page\_call\_to\_actions | ✔ | ✔ | | |
| page\_groups | ✔ | ✔ | | |
| page\_photos | ✔ | ✔ | | |
| page\_videos | ✔ | ✔ | | |
| page\_posts | ✔ | ✔ | | |
| page\_post\_comments | ✔ | ✔ | | |

### Setting up Facebook Pages for ELT & CDC

#### Overview

ELT & CDC uses the Pages API provided by Facebook to sync the data. [Facebook Pages API reference](https://developers.facebook.com/docs/pages/overview)

#### Connection options

When you create a Facebook Pages source, choose one of two connection options:

| **Option** | **When to use** |
| :- | :- |
| Business portfolio access | Grants access through your Facebook business portfolio. Requires admin consent for the business portfolio. |
| Page access only | Creates the source without business-portfolio admin consent. Use this option when you cannot get admin consent for a business portfolio. |

With **Page access only**:

* You need **Content** access on each Facebook Page you want to sync. Content access also covers the Community activity access needed to read post comments. [How to grant Facebook Page access](https://www.facebook.com/business/help/187316341316631)
* The pages collection does not include the `business` field.

#### Requirements

* You need to authenticate using OAuth2.
* Sign In and Authenticate.

<Frame>
  <img src="https://mintcdn.com/integrateio/SIDFEDRgXpxG0yrn/images/cdc/sources/image-32.png?fit=max&auto=format&n=SIDFEDRgXpxG0yrn&q=85&s=02b4820f1cd8119d213ca06e6b765cfd" alt="Facebook Pages OAuth sign-in and authentication prompt" width="1152" height="1192" data-path="images/cdc/sources/image-32.png" />
</Frame>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.