---
title: "Facebook Insights · WitCloud Docs"
description: "Learn how to connect Facebook Insights to Google BigQuery using WitCloud and automatically fetch reach and engagement statistics of your Facebook Pages…"
canonical_url: "https://witcloud.ai/docs/integrations/facebook-insights"
meta:
  "og:description": "Learn how to connect Facebook Insights to Google BigQuery using WitCloud and automatically fetch reach and engagement statistics of your Facebook Pages…"
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Facebook Insights · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Integration of Facebook Insights with BigQuery

Learn how to connect Facebook Insights to Google BigQuery using WitCloud and automatically fetch reach and engagement statistics of your Facebook Pages, posts, reels and stories.

Updated 8 Oct 2026

## Introduction

This module integrates with the **Facebook Graph API**, enabling you to collect reach and engagement statistics of your **Facebook Pages** - page metrics, posts, reels and stories - and store them in **Google Cloud BigQuery**.

## Configuration guide

Follow the steps below to connect Facebook Insights with BigQuery. Once the setup is complete, your Page data will be transferred to your BigQuery project automatically.

Make sure the Facebook account you authorize has access to the Facebook Pages you want to connect.

### Module setup

Go to **Integrations** in the menu and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/c8b72213ef23354505be3b578545e618.png)

Select **Facebook Insights** from the list of available integrations.

![Integration catalog filtered to Facebook Insights](https://api.witcloud.ai/api/docs/assets/328d93dc473c77a1cd225fb370710450.png)

Enter the **Collect name**, e.g., "Facebook Insights PL".

![Collect name field filled in with the example name Facebook Insights PL](https://api.witcloud.ai/api/docs/assets/14afaac04e3a8d185660caba0fb4fad7.png)

### Authorization

If you have already authorized Facebook Insights, simply pick the existing authorization from the **Select Facebook authorization** drop-down and skip this step.

Click **Authorize**.

![Authorize button next to the Select Facebook authorization field](https://api.witcloud.ai/api/docs/assets/377ed014f121dd1783b9f0a360270258.png)

A Facebook window opens. Log in and allow WitCloud to read your Pages: the list of Pages you manage, Page insights, the content posted on your Pages and its engagement, and your business portfolios. Then return to WitCloud.

### Page selection

Choose the Facebook Pages you want to collect data from in **Select accounts**.

![Select accounts drop-down open with example Facebook Pages](https://api.witcloud.ai/api/docs/assets/2d627b0b07be39239b3fc22604792229.png)

You can select **several Pages** at once - WitCloud creates a separate data collect for each one, named after the collect name and the Page.

![Select accounts field with two example Facebook Pages selected](https://api.witcloud.ai/api/docs/assets/2029a1b1520478c7a31ded1224890e59.png)

Optionally, click **Show advanced settings** to set the **Data freshness (posts)** (from **4** to **12** hours) and to narrow down the **Tables to collect** if you don't need every table. All tables are selected by default.

![Advanced settings with Data freshness (posts) and Tables to collect](https://api.witcloud.ai/api/docs/assets/20391faccfeaa8387ac13adf61408cb7.png)

Click **Next** to continue.

![Collect settings filled in with the Next button](https://api.witcloud.ai/api/docs/assets/c26411520a06909510d60d2e0e1defbd.png)

### Historical data and scheduling

In **Historical Data**, enter the number of days of historical data to fetch - up to **365**.

![Historical Data field with the number of days](https://api.witcloud.ai/api/docs/assets/fca8745ab55513750283a328edbcf3cd.png)

Click **Create** to complete the configuration. A data synchronization schedule will be created automatically - see [Auto workflows](https://witcloud.ai/docs/workflow#auto-workflows).

![Historical Data filled in with the Create button](https://api.witcloud.ai/api/docs/assets/1c119b2e2854613abcb5f9cc8bb48c7d.png)

**Done!** Your Facebook Pages data will now be synchronized with BigQuery.

## Data schema

The module creates the tables below in your BigQuery dataset. Expand a table to view its full data schema.

<details>

<summary>

Columns of <code>fb_insights_page</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| id | NULLABLE | STRING |
| name | NULLABLE | STRING |
| category | NULLABLE | STRING |
| page\_fans | NULLABLE | INTEGER |
| page\_fan\_adds | NULLABLE | INTEGER |
| page\_fan\_removes | NULLABLE | INTEGER |
| page\_follows | NULLABLE | INTEGER |
| page\_impressions | NULLABLE | INTEGER |
| page\_impressions\_paid | NULLABLE | INTEGER |
| page\_views\_total | NULLABLE | INTEGER |
| page\_post\_engagements | NULLABLE | INTEGER |
| page\_video\_views | NULLABLE | INTEGER |
| page\_video\_views\_autoplayed | NULLABLE | INTEGER |
| page\_video\_views\_click\_to\_play | NULLABLE | INTEGER |
| page\_video\_views\_organic | NULLABLE | INTEGER |
| page\_video\_views\_paid | NULLABLE | INTEGER |
| page\_actions\_post\_reactions\_like\_total | NULLABLE | INTEGER |
| page\_actions\_post\_reactions\_love\_total | NULLABLE | INTEGER |
| page\_actions\_post\_reactions\_wow\_total | NULLABLE | INTEGER |
| page\_actions\_post\_reactions\_haha\_total | NULLABLE | INTEGER |
| page\_actions\_post\_reactions\_sorry\_total | NULLABLE | INTEGER |
| page\_actions\_post\_reactions\_anger\_total | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_insights_page_total</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| id | NULLABLE | STRING |
| name | NULLABLE | STRING |
| category | NULLABLE | STRING |
| website | NULLABLE | STRING |
| link | NULLABLE | STRING |
| followers\_count | NULLABLE | INTEGER |
| fan\_count | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_insights_posts</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| id | NULLABLE | STRING |
| created\_time | NULLABLE | STRING |
| message | NULLABLE | STRING |
| full\_picture | NULLABLE | STRING |
| permalink\_url | NULLABLE | STRING |
| status\_type | NULLABLE | STRING |
| privacy | NULLABLE | RECORD |
| privacy.allow | NULLABLE | STRING |
| privacy.deny | NULLABLE | STRING |
| privacy.description | NULLABLE | STRING |
| privacy.friends | NULLABLE | STRING |
| privacy.value | NULLABLE | STRING |
| attachments | NULLABLE | RECORD |
| attachments.data | REPEATED | RECORD |
| attachments.data.title | NULLABLE | STRING |
| attachments.data.description | NULLABLE | STRING |
| attachments.data.type | NULLABLE | STRING |
| attachments.data.target | NULLABLE | RECORD |
| attachments.data.target.id | NULLABLE | STRING |
| attachments.data.target.url | NULLABLE | STRING |
| attachments.data.url | NULLABLE | STRING |
| attachments.data.media | NULLABLE | RECORD |
| attachments.data.media.image | NULLABLE | RECORD |
| attachments.data.media.image.height | NULLABLE | INTEGER |
| attachments.data.media.image.width | NULLABLE | INTEGER |
| attachments.data.media.image.src | NULLABLE | STRING |
| attachments.data.media.source | NULLABLE | STRING |
| attachments.data.media\_type | NULLABLE | STRING |
| post\_impressions | NULLABLE | INTEGER |
| post\_impressions\_unique | NULLABLE | INTEGER |
| post\_impressions\_paid | NULLABLE | INTEGER |
| post\_impressions\_paid\_unique | NULLABLE | INTEGER |
| post\_impressions\_fan | NULLABLE | INTEGER |
| post\_impressions\_fan\_unique | NULLABLE | INTEGER |
| post\_impressions\_organic | NULLABLE | INTEGER |
| post\_impressions\_organic\_unique | NULLABLE | INTEGER |
| post\_impressions\_viral | NULLABLE | INTEGER |
| post\_impressions\_viral\_unique | NULLABLE | INTEGER |
| post\_impressions\_nonviral | NULLABLE | INTEGER |
| post\_impressions\_nonviral\_unique | NULLABLE | INTEGER |
| post\_clicks | NULLABLE | INTEGER |
| post\_reactions\_like\_total | NULLABLE | INTEGER |
| post\_reactions\_love\_total | NULLABLE | INTEGER |
| post\_reactions\_wow\_total | NULLABLE | INTEGER |
| post\_reactions\_haha\_total | NULLABLE | INTEGER |
| post\_reactions\_sorry\_total | NULLABLE | INTEGER |
| post\_reactions\_anger\_total | NULLABLE | INTEGER |
| post\_video\_complete\_views\_30s\_autoplayed | NULLABLE | INTEGER |
| post\_video\_complete\_views\_30s\_clicked\_to\_play | NULLABLE | INTEGER |
| post\_video\_complete\_views\_30s\_organic | NULLABLE | INTEGER |
| post\_video\_complete\_views\_30s\_paid | NULLABLE | INTEGER |
| post\_video\_complete\_views\_30s\_unique | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_insights_video_reels</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | STRING |
| id | NULLABLE | STRING |
| post\_id | NULLABLE | STRING |
| description | NULLABLE | STRING |
| content\_category | NULLABLE | STRING |
| permalink\_url | NULLABLE | STRING |
| created\_time | NULLABLE | STRING |
| picture | NULLABLE | STRING |
| post\_video\_avg\_time\_watched | NULLABLE | INTEGER |
| post\_video\_view\_time | NULLABLE | INTEGER |
| post\_impressions\_unique | NULLABLE | INTEGER |
| blue\_reels\_play\_count | NULLABLE | INTEGER |
| fb\_reels\_total\_plays | NULLABLE | INTEGER |
| fb\_reels\_replay\_count | NULLABLE | INTEGER |
| post\_video\_followers | NULLABLE | INTEGER |
| post\_video\_likes\_by\_reaction\_type | NULLABLE | RECORD |
| post\_video\_likes\_by\_reaction\_type.reaction\_like | NULLABLE | INTEGER |
| post\_video\_likes\_by\_reaction\_type.reaction\_love | NULLABLE | INTEGER |
| post\_video\_likes\_by\_reaction\_type.reaction\_anger | NULLABLE | INTEGER |
| post\_video\_likes\_by\_reaction\_type.reaction\_wow | NULLABLE | INTEGER |
| post\_video\_likes\_by\_reaction\_type.reaction\_haha | NULLABLE | INTEGER |
| post\_video\_social\_actions | NULLABLE | RECORD |
| post\_video\_social\_actions.comment | NULLABLE | INTEGER |
| post\_video\_social\_actions.share | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_insights_stories</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| post\_id | NULLABLE | STRING |
| status | NULLABLE | STRING |
| media\_id | NULLABLE | STRING |
| media\_type | NULLABLE | STRING |
| creation\_time | NULLABLE | TIMESTAMP |
| page\_story\_impressions\_by\_story\_id | NULLABLE | INTEGER |
| pages\_fb\_story\_sticker\_interactions | NULLABLE | INTEGER |
| pages\_fb\_story\_replies | NULLABLE | INTEGER |
| pages\_fb\_story\_thread\_lightweight\_reactions | NULLABLE | INTEGER |
| pages\_fb\_story\_shares | NULLABLE | INTEGER |
| page\_story\_impressions\_by\_story\_id\_unique | NULLABLE | INTEGER |
| story\_interaction | NULLABLE | INTEGER |

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#webpage","@type":"WebPage","dateModified":"2026-10-08T07:43:30.960Z","description":"Learn how to connect Facebook Insights to Google BigQuery using WitCloud and automatically fetch reach and engagement statistics of your Facebook Pages…","name":"Facebook Insights · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/facebook-insights","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/facebook-insights"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Facebook Insights","item":"https://witcloud.ai/docs/integrations/facebook-insights","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#article","dateModified":"2026-10-08T07:43:30.960Z","description":"Learn how to connect Facebook Insights to Google BigQuery using WitCloud and automatically fetch reach and engagement statistics of your Facebook Pages, posts, reels and stories.","headline":"Facebook Insights","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/facebook-insights#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
