# Facebook

The user can get data from the Facebook server for the mapped Facebook account using the Facebook Data Connector.&#x20;

​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FDMxb8oHiBprDUhMMyZ3y%2Fimage.png?alt=media\&token=f0605de7-0815-4244-a199-c99849a0873a)​

The following steps display how to create a new Facebook Data Connector:

* Select the **Add New Account** option from the Select Account drop-down menu to add a new Facebook account.
* Enter the credentials of a Facebook account to log in.

​

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FDhqsVlRO3lIEY0gzYaPy%2Fimage.png?alt=media&#x26;token=061e226a-99ce-4390-b9fc-328d9b30c629" alt=""><figcaption></figcaption></figure>

* A new page opens, allowing BizViz to access the information from the logged-in Facebook account.
* Click the ‘**Continue as**… **The profile owner’s name**’ if you wish to map the same account or use the ***Edit This*** option to edit the information.

&#x20;      ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FmGriTBWBby4lb0YmKBLa%2Fimage.png?alt=media\&token=faa0bc19-c00b-4541-9513-c4b9dab0a475)​

* Select the ***OK*** option to link BizViz with the selected Facebook account (it may ask for a few additional steps if there is no page created from the selected Facebook account).

&#x20;     ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FFfcDpMT0X28JHi8rlnHC%2Fimage.png?alt=media\&token=50173391-4d5b-453a-9968-1f984daca543)​

* By selecting the continuation option, the user gets notified as logged in to the selected Facebook account and the Facebook Connector page reopens.
* Provide a title for the Data Connector.
* Describe the Data Connection (Optional).
* Click the ***Save*** option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FHTKsj79HqghtUU0C6lNe%2Fimage.png?alt=media&#x26;token=ffb998d2-eebf-437d-ba65-4e7b023e4868" alt=""><figcaption></figcaption></figure>

* A success message appears, and the newly created Facebook Connector gets added to the Data Connectors list.

&#x20;     ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F30SOLEPtokdsjsb7t0Zt%2Fimage.png?alt=media\&token=3e028a37-4eaa-4f33-aead-b536323b1647)​​

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The below-given page opens if the user selects an account using the **Select Account** drop-down menu. In this scenario, the user needs to provide only the Data Connector name, Description (optional), and click the **Save** option to create a new Facebook Data Connector.*
{% endhint %}


---

# 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.bdb.ai/data-center-4/data-center/data-connectors/supported-data-connectors/api-connectors/facebook.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.
