> For the complete documentation index, see [llms.txt](https://tailieu.smax.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.smax.bot/3.-cac-tinh-nang-chinh/_3.10-cau-hinh/__3.10.5-domain-whitelisting.md).

# \_\_3.10.5 Domain Whitelisting

Domain Witelising là một danh sách chứa các domain được cập nhật lên Facebook có chức năng bật được domain đó dưới dạng popup.

Khi muốn mở trang web dưới dạng popup của messenger, bạn phải add tên miền vào. Xem lại \_2.1.2.2 phần Text-Button-URL

{% content-ref url="/pages/-Ln335GRZW7qAPEqOvuy" %}
[\_2.1 Text](/2.-gioi-thieu-cac-element-card/_2.1-text.md)
{% endcontent-ref %}

## 1. Add Domain

&#x20;    Bước 1: Chọn "Add Domain" để thêm một domain mới vào Domain Whitelisting

![](/files/-Mdz-kNCTokFs6DpXulV)

&#x20;    Bước 2: Copy Domain cần add

![Copy Domain](/files/-Lu5n4RFp-F6ADunR8rk)

&#x20;    Bước 3: Paste vào ô Domain còn trống

![](/files/-Mdz-u_f-jNSTu_oK0Dv)

## 2. Yêu cầu:

Để đặt hoặc cập nhật danh sách miền được cho phép, bạn phải có vai trò 'Quản trị viên' cho Trang được liên kết với bot.

{% hint style="info" %}
**Yêu cầu tên miền và HTTPS**\
Miền phải đáp ứng các yêu cầu sau đây để đưa vào danh sách cho phép:

* Phân phối qua HTTPS
* Sử dụng tên miền đủ tiêu chuẩn, chẳng hạn như <https://www.messenger.com/>. Địa chỉ IP và localhost không được hỗ trợ để đưa vào danh sách cho phép.
  {% endhint %}

### 3. Danh sách cho phép trong cài đặt Trang <a href="#page_settings" id="page_settings"></a>

Quản trị viên Trang cũng có thể cập nhật danh sách miền hợp lệ của họ trong cài đặt Trang bằng cách thực hiện thao tác sau:

1. &#x20;Nhấp vào **Cài đặt** Trang
2. &#x20;Nhấp vào **Nhắn tin nâng cao**
3. &#x20;Chỉnh sửa miền được đưa vào danh sách hợp lệ của trang trong phần **Miền được đưa vào danh sách hợp lệ**

Một số Domain không được hỗ trợ trên trang:

* <https://www.google.com>
* <https://www.facebook.com>

Để xóa Domain, chọn "Delete".

![Xóa tại Smax](/files/-Mdz0LvHXXgl5EDH8XkZ)

![Hoặc xóa tại facebook](/files/-Mdz0Vl4GkSeTikvlEYH)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://tailieu.smax.bot/3.-cac-tinh-nang-chinh/_3.10-cau-hinh/__3.10.5-domain-whitelisting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
