Open navigation

Facebook Public Data: Query setup guide

Once you’ve authenticated your connection to Facebook Public Data, you’re ready to create your first query. 

This guide will walk you through Facebook Public Data query setup for Google Sheets, Data Studio, and Excel, as well as data warehouse destinations like Google Cloud Storage, BigQuery, and the Supermetrics API.

Before you begin

The Facebook Public Data connector doesn’t require you to log in to a specific account. This means there are no access requirements for this data source. Use it to collect publicly available data about Pages and Page posts.

Available fields

Visit our documentation site for a full list of the metrics and dimensions Supermetrics can pull from the data source

  • Field label is the name that appears in the sidebar. 
  • Metrics can be found under type - “met”.
  • Dimensions can be found under type - “dim”.


Google Sheets Data Studio Excel Data Integrations
  1. Authenticate the data source in Google Sheets. 
  2. Select Dates. Choose one date range (today, yesterday, last week, etc.). To select a custom date, you can insert the date manually in the Start and End fields in the calendar bar.
  3. Select Metrics
  4. Select Split by Dimensions.

    You can choose to split your data into rows and/or columns, reflect the number of rows or columns to be fetched, and define how the data is sorted.

  5. Click Get Data to Table to create your query and pull your data.

Advanced options for Google Sheets

  1. You can filter your data by selecting the field, operator, and value to filter by. Learn more about filters.
  2. Under Options, you can add additional features to your query.
  • Replace blank metric values with zeros.
  • Combine new results with old.
  • Format results for Data Studio (to import data from Google Sheets to Data Studio).
  • No header row.
  • Highlight values with colours (green, red, etc.).
  • Advanced settings.


Query runs very slowly

The more pages you try pull or the more rows, the slower the query will run gets. This is due to speed in the API behind the data. Try reducing the number of rows to below 300, or limit the number of pages listed. Learn more about optimizing your queries.

Query missing results

Facebook Public Data fetches a maximum of 600 rows of post data. This is due to the post feed limitation in the graph API. Data may also go missing if you have too many pages selected and a high row count. To avoid this, reduce the row limit and the number of pages being fetched. 

No data over time

The current version of the API only shows lifetime totals for most metrics, and you won't be able to report changes over time unless you use the "Combine new with old" feature in Google Sheets. If you need time breakdowns, consider using the Facebook Insights connector instead.

Page name is correct, but still getting "No data"

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.