Facebook Graph
  • 3 Minutes to read
  • Dark
    Light

Facebook Graph

  • Dark
    Light

Article Summary

Facebook Graph allows developers to access and retrieve user-related information and connections on the Facebook platform. It enables developers to build applications and services that leverage Facebook's social graph, which encompasses user profiles, relationships, interests, and activities, among other data points.

Dataddo can extract all the metrics provided via Facebook's official API. The full list is available here.

How to Create a Facebook Graph Data Source

  1. Under the Sources tab, click on the Create Source button and select the connector from the list.
  2. Select your dataset and click on Next to continue.
    DATADDO TIP

    If you are not sure which dataset you need but know the metrics and attributes, use the Search by Name or Attribute function.

    Wildix - datasets new
  3. 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.

  4. Name your data source and select your metrics and attributes.
    DATADDO TIP

    Metrics and attributes depend on the dataset. If you need different metrics/attributes, go back to step 2 to select another dataset.

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

  6. 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.
  7. Click on Save and congratulations, your new data source is ready!


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.

  1. Go to Sources, click on the three dots and choose Test Extraction.
  2. 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\"}}"
    
  3. Restart the broken sources by clicking on Manual Data Load icon next to your source.
    Facebook - authorization error log 2

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

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

  2. Go to your Facebook settings and navigate to the Business integrations tab.
  3. Find Dataddo and click on Remove.
  4. 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.



Need assistance?

Feel free to contact us and we will help you with the setup. To speed the process of resolving your issue, make sure you provide us with sufficient information.


Was this article helpful?

What's Next