# Facebook

Facebook integration is established by **System user** creation. [Here is complete guide on how to add **System user** and generate access token.](https://developers.facebook.com/docs/audience-network/guides/reporting/system-user)

You will need **App ID** as well, it can be found on Dashboard screen:

![](/files/-M7D5iV99C5ED1RyffXB)

After you have obtained **Access token** and **App ID**, go to devtodev (Settings -> 3rd party sources -> Ad revenue), copy values there and enable integration:&#x20;

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


---

# 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.devtodev.com/3rd-party-sources/ad-revenue/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.
