- 4 Minutes to read
- DarkLight
Facebook Page Insights
- 4 Minutes to read
- DarkLight
Facebook Page Insights is a tool that offers detailed analytics and metrics for Facebook Pages. It provides data on the performance of a Page, including information about audience demographics, post reach, engagement, and other key metrics, helping Page administrators understand and optimize their content strategy to better engage with their audience.
Dataddo can extract all metrics provided via the official Facebook Page API.
How to create a Facebook Page Insights Data Source
- Under the Sources tab, click on the Create Source button and select the connector from the list.
- From the drop-down menu, choose your account.Didn't find your account?
Click on Add new Account at the bottom of the drop-down and follow the on-screen prompts. You can also go to the Authorizers tab and click on Add New Service.
- Name your data source and select your metrics and attributes.
- [Optional] Configure your advanced settings (for more information please refer to the section on Advanced Settings). If you are unsure about how to proceed, we recommend skipping this step.
- Configure your snapshotting preferences. Choose your sync frequency or the exact synchronization time under Show advanced settings.DATADDO TIP
If you need to load historical data, please refer to the Manual Data Load page.
- Preview your data by clicking on the Test Data button in the top right corner. You can adjust the date range for a more specific time frame.
- Click on Save and congratulations, your new data source is ready!
Connector Overview
Permissions
When authorizing Facebook access, make sure your account has to have assigned at least ANALYST level permissions. Please check the official documentation for more details.
Multi-Account Extraction
The Dataddo Facebook Page Insights connector supports automatic extraction from all the available Facebook Pages. This feature allows you to automatically extract the same metrics and dimensions across all your pages.
Limitations
Number of Rows
The Facebook Insights API has a hard limit for the total number of rows that can be extracted. However, Dataddo supports automatic pagination which means that the data extraction is distributed into multiple calls.
Historical Data Load
In case of loading historical data, the Facebook Page API allows you to load the data in batches of max 90 days. You can also extract data from up to 5 years back.
Troubleshooting
Data Preview Unavailable
If there is no data preview after clicking on Test Data, there might be a problem with your source configuration. The most common causes are:
- Date range: Try a smaller date range. You can load the rest of your data afterward through our manual data load function.
- Invalid metrics, attributes, or breakdowns: You may not have any data for the selected metrics, attributes, or breakdowns.
- Incompatible combination of metrics, attributes, or breakdowns: The combination you have selected cannot be queried together. Please refer to the service's documentation to view a full list of metrics that can be included in the same source.
Authorization Error
If your Facebook source is broken, check the extraction log to see the details of the issue.
- Go to Sources, click on the three dots and choose Test Extraction.
- If the error message is one of the following, go to Authorizers to reauthorize the service (Facebook).
"response_status": "401 Unauthorized"
"Www-Authenticate": "OAuth \"Facebook Platform\" \"invalid_token\" \"You cannot access the app till you log in to www.facebook.com and follow the instructions given.\""
"response_body": "{\"error\":{\"message\":\"You cannot access the app till you log in to www.facebook.com and follow the instructions given.\",\"type\":\"OAuthException\",\"code\":190,\"error_data\":\"{\\\"checkpoint_url\\\":\\\"https:\\\\\\/\\\\\\/www.facebook.com\\\"}\",\"error_subcode\":459,\"fbtrace_id\":\"AUWZQsg7Opr7SEpp_lk9wUa\"}}"
- Restart the broken sources by clicking on Manual Data Load icon next to your source.
Unable to Find Facebook Sub Accounts
If your access rights have changed or you gained access to a new Facebook account, it is possible that your other accounts will not be immediately listed in Dataddo. To fix this, please try the following:
Completely Reauthorize the Service
- Go to the Authorizers tab in Dataddo and delete the Facebook authorizer.Deleting an Authorizer
Please keep in mind that you will first need to delete all sources created with the authorizer. This will also affect your flows.
- Go to your Facebook settings and navigate to the Business integrations tab.
- Find Dataddo and click on Remove.
- Now go back to the Authorizers tab in Dataddo and authorize your Facebook account again.
Check Your Account Permissions
If the method above doesn't work, please check your Facebook account's permissions. To access insights, make sure the permissions are at least on the analyst level.
### Correct Date Range Setup
The fact that metrics are calculated in the PST timezone and Facebook API operates in UTC has an implication on the Date Range setting during the connector setup.
If you set the connector to query the data for 2020-11-21, the Facebook API considers it as the value in UTC timezone. As such, the matching metrics will be in the 2020-11-21 08:00:00+0000 format which will correspond to the values associated with 2020-11-20 in your Business Manager.
Related Articles
Now that you have successfully created a data source, see how you can connect your data to a dashboarding app or a data storage.