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

Connect Facebook Page Insights to Supabase

Send Facebook Page Insights page: general overview, page: performance insights, page: followers daily snapshot and 3 more report types to Supabase 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

Supabase 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
Spotify
fifty-five
Al Jazeera
InPost
Visma
REHAU
Getir
Printify
Macromill
Stanford
Médecins Sans Frontières
Greenpeace
Save the Children
San Diego FC

How to connect Facebook Page Insights and Supabase

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

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 Supabase.

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 Supabase.

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 Supabase

Enter the connection details from your Supabase project's Connect panel, then the schema and table for the Facebook Page Insights data.

Hostaws-0-eu-central-1.pooler.supabase.comSession pooler host from the Supabase Connect panel
Port5432Default is 5432
DatabasepostgresUsually postgres
Tablepage_general_overviewCreated automatically on the first run
Show 3 more fields Show fewer fields
Userpostgres.abcdefghijklmnopPooler user looks like postgres.[project-ref]
Password••••••••••••Database password, not an API key
Schemafacebook_page_insightsA dedicated schema keeps it out of the Data API

Step 9 of 9

Choose a write mode and schedule

Every run either replaces or appends the data in Supabase. 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 Supabase 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 Supabase 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. On the first successful run, Coupler.io creates the facebook_page_insights schema and the page_general_overview table if the database user has the privileges to do so, and detects column types from the Facebook Page Insights data.

Its writes aren't governed by RLS policies, and the tables it creates have RLS turned off. Keep Facebook Page Insights data in a schema your app doesn't expose through the Data API.

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 Supabase.

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