---
title: "Facebook Insights · Dokumentacja WitCloud"
description: "Dowiedz się, jak połączyć Facebook Insights z Google BigQuery w WitCloud i automatycznie pobierać statystyki zasięgu i zaangażowania Twoich stron na…"
canonical_url: "https://witcloud.ai/pl/docs/integrations/facebook-insights"
meta:
  "og:description": "Dowiedz się, jak połączyć Facebook Insights z Google BigQuery w WitCloud i automatycznie pobierać statystyki zasięgu i zaangażowania Twoich stron na…"
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Facebook Insights · Dokumentacja WitCloud"
---

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

# Integracja Facebook Insights z BigQuery

Dowiedz się, jak połączyć Facebook Insights z Google BigQuery w WitCloud i automatycznie pobierać statystyki zasięgu i zaangażowania Twoich stron na Facebooku, postów, rolek i relacji.

Zaktualizowano 8 paź 2026

## Wprowadzenie

Ten moduł łączy się z **Facebook Graph API** i pozwala pobierać statystyki zasięgu i zaangażowania Twoich **stron na Facebooku** - metryki strony, posty, rolki i relacje - oraz zapisywać je w **Google Cloud BigQuery**.

## Konfiguracja

Wykonaj poniższe kroki, aby połączyć Facebook Insights z BigQuery. Po zakończeniu konfiguracji dane Twoich stron będą automatycznie przesyłane do Twojego projektu BigQuery.

Upewnij się, że konto Facebook, które autoryzujesz, ma dostęp do stron na Facebooku, które chcesz połączyć.

### Dodanie modułu

Przejdź do **Integracje** w menu i kliknij **Dodaj integrację**.

![Lista integracji z przyciskiem Dodaj integrację](https://api.witcloud.ai/api/docs/assets/3728c9b09ee1020be0ed4e706aea867d.png)

Wybierz **Facebook Insights** z listy dostępnych integracji.

![Katalog integracji zawężony do Facebook Insights](https://api.witcloud.ai/api/docs/assets/539bc4239903549ddc74e2bb718ff7a1.png)

Wpisz **Nazwę źródła danych**, np. „Facebook Insights PL”.

![Pole Nazwa źródła danych wypełnione przykładową nazwą Facebook Insights PL](https://api.witcloud.ai/api/docs/assets/329873953479dd054a7dbb319e01fa6d.png)

### Autoryzacja

Jeśli masz już autoryzację Facebook Insights, wybierz ją z listy **Wybierz autoryzację Facebook** i pomiń ten krok.

Kliknij **Autoryzuj**.

![Przycisk Autoryzuj obok pola Wybierz autoryzację Facebook](https://api.witcloud.ai/api/docs/assets/861b71e7680b19464cb0db32c3c15442.png)

Otworzy się okno Facebooka. Zaloguj się i zezwól WitCloud na odczyt Twoich stron: listy stron, którymi zarządzasz, statystyk stron, treści publikowanych na stronach i zaangażowania wokół nich oraz Twoich portfolio biznesowych. Następnie wróć do WitCloud.

### Wybór stron

W polu **Wybierz konta** wybierz strony na Facebooku, z których chcesz pobierać dane.

![Otwarta lista Wybierz konta z przykładowymi stronami na Facebooku](https://api.witcloud.ai/api/docs/assets/5f1583f3a8fa67b8485ce20d6428d10a.png)

Możesz wybrać **kilka stron** naraz - WitCloud utworzy osobny konektor dla każdej z nich, nazwany nazwą źródła danych i nazwą strony.

![Pole Wybierz konta z dwiema wybranymi przykładowymi stronami na Facebooku](https://api.witcloud.ai/api/docs/assets/bcffdb65b5dff81467f181196cfac368.png)

Opcjonalnie kliknij **Pokaż ustawienia zaawansowane**, aby ustawić **Odświeżanie danych (posty)** (od **4** do **12** godzin) i zawęzić **Tabele do pobrania**, jeśli nie potrzebujesz wszystkich tabel. Domyślnie zaznaczone są wszystkie tabele.

![Ustawienia zaawansowane z polami Odświeżanie danych (posty) i Tabele do pobrania](https://api.witcloud.ai/api/docs/assets/b7dbf050f574a9ae7ecc2c3ff74bd7d7.png)

Kliknij **Dalej**, aby przejść dalej.

![Wypełnione ustawienia źródła danych z przyciskiem Dalej](https://api.witcloud.ai/api/docs/assets/1c3f1fd1e2a34df86375c90a681d383e.png)

### Dane historyczne i harmonogram

W polu **Dane historyczne** wpisz, z ilu dni wstecz pobrać dane historyczne - maksymalnie **365**.

![Pole Dane historyczne z liczbą dni](https://api.witcloud.ai/api/docs/assets/1522e53576d7a26dc9c0c28648c7f8f0.png)

Kliknij **Utwórz**, aby zakończyć konfigurację. Harmonogram synchronizacji danych utworzy się automatycznie - zobacz [Automatyczne harmonogramy](https://witcloud.ai/pl/docs/workflow#automatyczne-harmonogramy).

![Wypełnione pole Dane historyczne z przyciskiem Utwórz](https://api.witcloud.ai/api/docs/assets/b45238b746b91d8fd8dc7ae1da413720.png)

**Gotowe!** Dane Twoich stron na Facebooku będą teraz synchronizowane z BigQuery.

## Schemat danych

Moduł tworzy w Twoim zbiorze danych BigQuery poniższe tabele. Rozwiń tabelę, aby zobaczyć jej pełny schemat danych.

<details>

<summary>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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":"pl-PL","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#webpage","@type":"WebPage","dateModified":"2026-10-08T07:46:21.205Z","description":"Dowiedz się, jak połączyć Facebook Insights z Google BigQuery w WitCloud i automatycznie pobierać statystyki zasięgu i zaangażowania Twoich stron na…","name":"Facebook Insights · Dokumentacja WitCloud","url":"https://witcloud.ai/pl/docs/integrations/facebook-insights","breadcrumb":{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/pl/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/pl/docs/integrations/facebook-insights#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integracje","item":"https://witcloud.ai/pl/docs/integrations","position":1},{"@type":"ListItem","name":"Facebook Insights","item":"https://witcloud.ai/pl/docs/integrations/facebook-insights","position":2}]},{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#article","dateModified":"2026-10-08T07:46:21.205Z","description":"Dowiedz się, jak połączyć Facebook Insights z Google BigQuery w WitCloud i automatycznie pobierać statystyki zasięgu i zaangażowania Twoich stron na Facebooku, postów, rolek i relacji.","headline":"Facebook Insights","inLanguage":"pl-PL","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#/schema/person/1"},"image":{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/pl/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":"pl-PL","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/pl/docs/integrations/facebook-insights#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"pl-PL","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

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