Title: Plug Chat
Author: themeshape
Published: <strong>2020 年 4 月 30 日</strong>
Last modified: 2026 年 4 月 4 日

---

搜尋外掛

![](https://ps.w.org/plug-chat/assets/banner-772x250.png?rev=2295410)

![](https://ps.w.org/plug-chat/assets/icon-256x256.png?rev=2295410)

# Plug Chat

 由 [themeshape](https://profiles.wordpress.org/themeshape/) 開發

[下載](https://downloads.wordpress.org/plugin/plug-chat.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/plug-chat/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/plug-chat/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/plug-chat/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/plug-chat/#developers)

 [技術支援](https://wordpress.org/support/plugin/plug-chat/)

## 外掛說明

Plugchat lets you add a Meta (Facebook) Messenger chat widget to your WordPress 
site so visitors can message you directly.

**Version 3.0 — Rebuilt for Meta’s New Chat Plugin**

Meta has retired the old Customer Chat Plugin SDK. Plugchat 3.0 is rebuilt around
Meta’s current system: you copy the embed code from Meta Business Suite and paste
it into the plugin settings. That’s it — no API keys, no app IDs, no SDK configuration.

#### How it works

 1. Get your Chat Plugin code from Meta Business Suite.
 2. Paste it into Plugchat settings.
 3. Choose left or right position.
 4. Save. Your Messenger chat widget is live.

#### Features

 * Simple embed code setup — paste and save.
 * Position control — left or right side of the screen.
 * Zero external scripts loaded by the plugin — Meta’s embed code handles everything.
 * Fully compatible with WordPress 6.9.
 * Clean uninstall — all settings removed when you delete the plugin.
 * Existing users with legacy settings are not affected — old configuration is preserved
   and accessible.

#### Important Note

Meta (Facebook) deprecated the legacy Customer Chat Plugin SDK. The old method (
entering a Page ID) no longer works for new setups because Meta shut down the SDK
endpoint. This is a Meta platform decision and is outside this plugin’s control.

Plugchat 3.0 solves this by using Meta’s current embed code system. If you were 
using the old version, your settings are preserved and you can reference them while
migrating.

## 螢幕擷圖

 * [[
 * Plugin settings page with setup guide
 * [[
 * Embed code textarea
 * [[
 * Status indicator showing active/legacy/not configured
 * [[
 * Legacy settings section (for existing users)
 * [[
 * Messenger chat widget on the frontend

## 安裝方式

 1. Upload the plugin files to `/wp-content/plugins/plugchat`, or install through the
    WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ screen.
 3. Go to **Plugchat** in the admin sidebar.
 4. Follow the on-screen guide to get your embed code from Meta Business Suite.
 5. Paste the code and save.

#### How to get the embed code from Meta

 1. Go to [Meta Business Suite](https://business.facebook.com/) and select your Facebook
    Page.
 2. Click **Inbox** in the left sidebar, then the **Settings** gear icon.
 3. Select **Chat Plugin**.
 4. Click **Set Up** and customize your widget (color, greeting text, language).
 5. On the installation step, click **Copy Code**.
 6. Paste the full code into the Plugchat “Embed Code” field.

## 常見問題集

### The chat widget is not showing on my website?

Make sure you have pasted a valid Meta Chat Plugin embed code in the settings. The
code must contain a reference to facebook.com or messenger.com. Also ensure your
domain is whitelisted in your Facebook Page’s Chat Plugin settings.

### I was using the old version with a Page ID. What should I do?

Your old settings are preserved under “Legacy Settings” on the Plugchat settings
page. Follow the setup guide to get the new embed code from Meta Business Suite.
Once you paste the new code and save, the new method takes priority automatically.
Your old settings remain available for reference.

### Can I display multiple chat widgets?

No. Only one Messenger chat widget can be active per page.

### Does Plugchat collect any data?

No. Plugchat stores only your settings in the WordPress database. The chat itself
runs entirely through Meta’s servers.

### What happens when I uninstall the plugin?

All plugin settings (embed code, position, and any legacy settings) are removed 
from your database. Deactivating the plugin does not delete settings.

### The embed code field shows an error when I save?

The plugin validates that your code contains a reference to a Meta/Facebook domain.
Make sure you are pasting the exact code from Meta Business Suite without modifications.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Plug Chat〉的開發相關工作。

參與者

 *   [ themeshape ](https://profiles.wordpress.org/themeshape/)
 *   [ themeplugs ](https://profiles.wordpress.org/themeplugs/)
 *   [ devshagor ](https://profiles.wordpress.org/shagors/)

〈Plug Chat〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/plug-chat/contributors)
為這個外掛做出的貢獻。

[將〈Plug Chat〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/plug-chat)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/plug-chat/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/plug-chat/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/plug-chat/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/plug-chat/)。

## 變更記錄

#### 3.0.0

 * **Major rebuild**: Plugin now uses Meta’s Chat Plugin embed code instead of the
   retired SDK.
 * New: Embed code textarea — paste your code from Meta Business Suite.
 * New: On-screen setup guide with step-by-step instructions.
 * New: Status indicator showing Active, Legacy Mode, or Not Configured.
 * New: Admin notice on plugins page prompting setup or migration.
 * New: Embed code validation — only accepts snippets with Meta/Facebook domains.
 * Improved: Legacy settings preserved and accessible in a collapsible section.
 * Improved: New embed code takes priority; legacy settings used as fallback only.
 * Improved: No external scripts loaded by the plugin — Meta’s embed handles its
   own SDK.
 * Improved: Frontend CSS updated for new embed wrapper positioning.
 * Backward compatible: All existing option values preserved. No data lost on upgrade.

#### 2.0.0

 * Security: Added sanitization callbacks to all settings.
 * Security: Fixed unescaped output in frontend widget.
 * Security: Added capability check on admin page.
 * Performance: Admin assets scoped to plugin page only.
 * Performance: Frontend assets skip loading when unconfigured.
 * Updated: Facebook SDK URL updated.
 * Updated: WordPress 6.9 compatibility.
 * Fixed: uninstall.php now cleans up all options.

#### 1.0.2

 * WordPress 6.1.1 Version Compatibility Check.

#### 1.0.0

 * Initial public release.

## 中繼資料

 *  版本 **3.0.0**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/plug-chat/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/plug-chat/)、
   及 [Spanish (Spain)](https://es.wordpress.org/plugins/plug-chat/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/plug-chat)
 * 標籤:
 * [chat plugin](https://tw.wordpress.org/plugins/tags/chat-plugin/)[facebook chat](https://tw.wordpress.org/plugins/tags/facebook-chat/)
   [messenger](https://tw.wordpress.org/plugins/tags/messenger/)[WordPress Messenger](https://tw.wordpress.org/plugins/tags/wordpress-messenger/)
 *  [進階檢視](https://tw.wordpress.org/plugins/plug-chat/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/plug-chat/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/plug-chat/reviews/)

## 參與者

 *   [ themeshape ](https://profiles.wordpress.org/themeshape/)
 *   [ themeplugs ](https://profiles.wordpress.org/themeplugs/)
 *   [ devshagor ](https://profiles.wordpress.org/shagors/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/plug-chat/)