Connect your data to Claude in 1 minute. No code needed Try it now

Connect Facebook Page Insights to PostgreSQL

Send Facebook Page Insights page: general overview, page: performance insights, page: followers daily snapshot and 3 more report types to PostgreSQL on a schedule. Pick the pages, choose metrics and dimensions and filter by date. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

PostgreSQL schema facebook_page_insights
  • page_general_overview
  • page_performance_insights
  • page_followers_daily_snapshot
  • post_posts_lifetime_performance
  • post_reels_lifetime_performance
  • 1 more report type
Each Facebook Page Insights report type lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Tradezella
Stanford
Webtoon
Getir
Stellar
Anker
ParentSquare
Bac 50
Benzinga
Matterport

How to connect Facebook Page Insights and PostgreSQL

9 steps. You can preview the Facebook Page Insights data in Coupler.io before anything reaches PostgreSQL.

Step 1 of 9

Connect Facebook Page Insights

Sign in to Facebook Page Insights and authorize Coupler.io. There's no API key to copy.

Sign in with Facebook Page Insights

Step 2 of 9

Choose what to export

Pick the Facebook Page Insights data you want in PostgreSQL.

PagesNot setSpecify pages from where you want to extract data.

Step 3 of 9

Set the report period

Choose the date range the report covers.

Start dateAny dateSpecify the start date of the period that should be covered in your report.
End dateAny dateSpecify the end date of the period that should be covered in your report.
Created afterAny date
Created beforeAny date
Show 1 more field Show fewer fields
Split data by periodNot setSpecify the period to split your report data.

Step 4 of 9

Metrics

MetricsNot setSelect one or more values for “metrics”, e.g. “Post views - total”, “Post views - paid vs. organic”, “Post views - followers vs. non-followers”, “Impressions by source (total, paid, organic) (deprecated)”, “Impressions by story type (deprecated)”.

Step 5 of 9

Pick metrics and dimensions

Choose what to measure and how to break it down.

Metrics and dimensionsNot setSelect one or more values for “metrics and dimensions”, e.g. “About”, “App Id”, “Category”, “Categories list”, “Company overview”.

Step 6 of 9

Narrow it down

Filter Facebook Page Insights records before they reach PostgreSQL.

Created afterAny date
Created beforeAny date

Step 7 of 9

Fine-tune the export

Optional settings for this Facebook Page Insights export.

Post columnsNot setSelect one or more values for “post columns”, e.g. “Message”, “Call to action”, “Multi-share end card”, “Multi-share optimized”, “Message tags”.
Data behaviorNot setChoose how your data is stored. Latest data keeps only current values.

Step 8 of 9

Connect PostgreSQL

Enter your PostgreSQL connection details, then the schema and table for the Facebook Page Insights data.

Hostdb.example.comHostname, IPv4, or IPv6 address of the server
Port5432Default is 5432
DatabaseanalyticsThe target database name
Tablepage_general_overviewCreated automatically on the first run
Show 3 more fields Show fewer fields
UsercouplerUser with CREATE and INSERT privileges
Password••••••••••••The database user's password
Schemafacebook_page_insightsCreated automatically if it doesn't exist

Step 9 of 9

Choose a write mode and schedule

Every run either replaces or appends the data in PostgreSQL. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in page_general_overview and loads fresh Facebook Page Insights data.

Get the most of Facebook Page Insights to PostgreSQL integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
Facebook Page Insights to PostgreSQL questions

6 report types, including Page: general overview, Page: performance insights, Page: followers daily snapshot, Post: posts lifetime performance and Post: reels lifetime performance.

You sign in to Facebook Page Insights and authorize Coupler.io. There's no API key to copy.

Yes. Set the start date and end date to cover the period you need. You can also filter by created date. Splitting the data by period is available too.

Yes. Pick from 132 metrics and 122 dimensions.

Yes, if the database user has CREATE privileges. Coupler.io creates the facebook_page_insights schema and the page_general_overview table on the first run.

Yes. Append adds new rows to page_general_overview on each run, while Replace swaps in a fresh copy. With Append, add new Facebook Page Insights columns to the table yourself before the next run.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example Instagram Insights or Facebook Public Data, and join or append them before the data reaches PostgreSQL.

High five for scrolling till the very end!
See you in the app!