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

---

Sök tillägg

![](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

 Av [themeshape](https://profiles.wordpress.org/themeshape/)

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

 * [Detaljer](https://sv.wordpress.org/plugins/plug-chat/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/plug-chat/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/plug-chat/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/plug-chat/#developers)

 [Support](https://wordpress.org/support/plugin/plug-chat/)

## Beskrivning

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.

## Skärmdumpar

[⌊Plugin settings page with setup guide⌉⌊Plugin settings page with setup guide⌉[

Plugin settings page with setup guide

[⌊Embed code textarea⌉⌊Embed code textarea⌉[

Embed code textarea

[⌊Status indicator showing active/legacy/not configured⌉⌊Status indicator showing
active/legacy/not configured⌉[

Status indicator showing active/legacy/not configured

[⌊Legacy settings section (for existing users)⌉⌊Legacy settings section (for existing
users)⌉[

Legacy settings section (for existing users)

[⌊Messenger chat widget on the frontend⌉⌊Messenger chat widget on the frontend⌉[

Messenger chat widget on the frontend

## Installation

 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.

## Vanliga frågor

### 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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Plug Chat” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

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

”Plug Chat” har översatts till 2 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/plug-chat/contributors)
för deras bidrag.

[Översätt ”Plug Chat” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/plug-chat)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/plug-chat/), kika 
på [SVN-filförvaret](https://plugins.svn.wordpress.org/plug-chat/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/plug-chat/) via [RSS](https://plugins.trac.wordpress.org/log/plug-chat/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 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.

## Meta

 *  Version **3.0.0**
 *  Senast uppdaterat **4 månader sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 5.0 eller senare **
 *  Testat upp till **6.9.5**
 *  PHP-version ** 7.4 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/plug-chat/), [Spanish (Chile)](https://cl.wordpress.org/plugins/plug-chat/)
   och [Spanish (Spain)](https://es.wordpress.org/plugins/plug-chat/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/plug-chat)
 * Etiketter
 * [chat plugin](https://sv.wordpress.org/plugins/tags/chat-plugin/)[facebook chat](https://sv.wordpress.org/plugins/tags/facebook-chat/)
   [messenger](https://sv.wordpress.org/plugins/tags/messenger/)[WordPress Messenger](https://sv.wordpress.org/plugins/tags/wordpress-messenger/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/plug-chat/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/plug-chat/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/plug-chat/)