# Facebook Variables

The following variables are automatically added to your conversation when your chatbot is conversating on this channel:

| Variable                             | Description                                                                                                                                                                                              |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| bot\_channel                         | Set to "FacebookChannel"                                                                                                                                                                                 |
| facebook\_page\_id                   | The full id of the current Facebook page where the chatbot is hosted                                                                                                                                     |
| facebook\_page\_name                 | The name of the current Facebook page where the chatbot is hosted                                                                                                                                        |
| first\_name                          | The first name of the user                                                                                                                                                                               |
| last\_name                           | The last name of the user                                                                                                                                                                                |
| locale                               | The locale of the user in standard four letter ISO code notation (e.g. en-US)                                                                                                                            |
| timezone                             | The timezone of the user based on GMT hours shift. This value is automatically used if [User Timezone](/broadcast/scheduling/basic-settings/untitled.md#time-zone-mode) mode is selected for broadcasts. |
| profile\_pic                         | The user public profile pic url.                                                                                                                                                                         |
| gender                               | The user specified gender                                                                                                                                                                                |
| age\_range\_min                      | The minimum age value of the age range of the user                                                                                                                                                       |
| age\_range\_max                      | The maximum age value of the age range of the user                                                                                                                                                       |
| user\_id                             | The page-scoped id of the user                                                                                                                                                                           |
| subject\_to\_new\_eu\_privacy\_rules | This flag will be true if your Facebook page is subject to Facebook EU regulations. False otherwise.                                                                                                     |

Depending on user specific privacy settings some values may still be empty.


---

# 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.xenioo.com/basic-concepts/publishing/channels/facebook/facebook-variables.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.
