# 如何啟用測試版機器人？

### 問題

開始使用聊天機器人前，很擔心因為某個環節出了錯，而影響實際營運中的 Facebook 粉絲專頁或 LINE 官方帳號。有沒有什麼解決辦法？

### 回答

您可以**建立測試用的 Facebook 粉絲專頁或 LINE 官方帳號並綁定機器人。**&#x78BA;認沒問題後，再綁定至實際要使用的粉絲專頁或 LINE。

另外，若想測試 LINE 機器人的推播功能，可在 [LINE Developers](https://developers.line.biz/) 開啟 channel ，並選擇 Messaging API -> Developer trail。Developer trail 好友上限 50 人並可推播，但不能升級為付費方案。 Free 免費版雖然不能推播但可以升級付費方案。

透過測試版機器人，您可以特別注意：

**1. LINE 官方帳號綁定機器人後無法與用戶「一對一聊天」**

LINE 官方啟用「Messenger API」 後，您將無法再使用與客戶直接對話的「一對一聊天」功能，亦無法使用部分 APP 介面登入其後台。您可利用測試版機器人確認此情境適合建立何種機器人。(LINE 官方帳號 2.0 推出後預計提供部分解決方案)

**2.Messenger 機器人的訊息標籤政策**

您可利用測試版機器人了解以下 Facebook 對 Messenger 機器人的訊息標籤政策與[「24+1 政策」](https://developers.facebook.com/docs/messenger-platform/policy/policy-overview/?translation#24hours_window)對推播內容的影響。

* 若推播訊息不包含促銷內容，例如：搬家、活動通知，請選擇「不含促銷內容」。並請參閱 [Facebook 訊息標籤政策 ](https://developers.facebook.com/docs/messenger-platform/send-messages/message-tags/?locale=zh_TW)選擇最適當的標籤。
* 若推播訊息包含促銷內容，例如：每日好康、優惠券、折扣或拍賣通知，請選擇「包含促銷內容」。若利用「非促銷內容」的標籤傳送促銷內容，會違反 Facebook 政策，可能導致你的帳號被停權。
* 促銷內容只能傳送給 24 小時內有和機器人互動過的使用者。**超過24小時未與機器人互動的使用者，只能收到促銷內容裡的「第一個回應元件」。**


---

# 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-tw.yoctol.ai/faq/staging_bot.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.
