# Facebook Audiences

To sync audience or users to Facebook, you will access to facebook's Marketing API. This can be acheived by creating an app on facebook developer console and giving that app permissions to snyc custom audience with Facebook.

Follow below steps to setup facebook app:

1. Go to [FB business settings page](https://business.facebook.com/settings). Scroll to Apps and click on **Add > Create a new app ID** option under Apps menu.

   <figure><img src="/files/uRPWI4CLn67M1uy2MDGD" alt=""><figcaption></figcaption></figure>
2. Select "Manage Business INtegrations" in the purpose of creating this new app and click Continue.

   <figure><img src="/files/Yo4OOgkdwFucZPro7hfJ" alt=""><figcaption></figcaption></figure>
3. Once the app gets created, App dashboard will open and you will see option to add Products.

   <figure><img src="/files/MpWuhPv2VXjFZbdxw2f7" alt=""><figcaption></figcaption></figure>
4. Search for Marketing API and click Set Up. Your app will be created in dev mode and is ready for testing.

   <figure><img src="/files/AXo6xHmYSU2MeptWqaFu" alt=""><figcaption></figcaption></figure>

## Step2: Connect Facebook Account With Growlyitcs

1. Login to Growlytics Dashboard. Go to Settings> Social Media.
2. Click on Add / Edit Provider.
3. In Social Media, select "Facebook"
4. Enter Add Account ID and App Access Token That you have created in earlier step.
5. Click on Save Changes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.growlytics.in/channels/ad-network/facebook-audiances.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
