# 直播外掛程式

## 取得 JavaScript SDK 代碼 <a href="#get-javascript-sdk-code" id="get-javascript-sdk-code"></a>

當您已綁定 FB 粉專帳號時，將可使用 Liveby 直播外掛程式功能。

於商城管理 「 一般設定 」 下方可看見 「 直播外掛程式 」 區塊，請將 JavaScript SDK 代碼複製並貼上您希望顯示 FB 直播外掛程式之網頁程式碼中，設定於 \<head> 或 \<body> 段落內即可。

<figure><img src="/files/zIdJ3VrSO0rw7jnY8nJf" alt=""><figcaption><p>直播外掛程式_取得 JavaScript SDK 代碼</p></figcaption></figure>

### FB 直播同步顯示結果 <a href="#front-end-embedded-live-video-player" id="front-end-embedded-live-video-player"></a>

當您在 Facebook 開始直播時，預設於您的 Livebuy 點播商城首頁，或是您所指定的網站會在右下角自動彈出 Livebuy 直播間，有助於您自有網站之聯播和導流的功能。

<figure><img src="/files/ZZ6CwwuyLQ7Xh4zZSkI3" alt=""><figcaption><p>直播外掛程式_顯示結果</p></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://help.livebuy.tv/product-tour/settings/additional-settings/live-plugin.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.
