> For the complete documentation index, see [llms.txt](https://help.livebuy.tv/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.livebuy.tv/product-tour/settings/additional-settings/live-plugin.md).

# 直播外掛程式

## 取得 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>
