Version Description
- Fix undefined variable error message
Download this release
Release Info
Developer | |
Plugin | Messenger Customer Chat |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- facebook-messenger-customer-chat.php +4 -3
- options.php +4 -4
- readme.txt +30 -21
facebook-messenger-customer-chat.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name:
|
4 |
-
Description:
|
5 |
Author: Facebook
|
6 |
Author URI: https://developers.facebook.com
|
7 |
-
Version: 1.
|
8 |
|
9 |
* Copyright (C) 2017-present, Facebook, Inc.
|
10 |
*
|
@@ -26,6 +26,7 @@ class Facebook_Messenger_Customer_Chat {
|
|
26 |
|
27 |
function fbmcc_inject_messenger() {
|
28 |
if( get_option( 'fbmcc_pageID' ) != '' ) {
|
|
|
29 |
$genCode .= "
|
30 |
<div id='fb-root'></div>
|
31 |
<script>(function(d, s, id) {
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: The Official Facebook Chat Plugin
|
4 |
+
Description: With one click, you can add the Facebook Chat Plugin to your website, enabling customers to message you while browsing your website. To see and reply to those messages, simply use the same messaging tools you use for your Facebook messaging, on desktop at facebook.com, Facebook Page Manager App (available on iOS and Android), or by adding your page account to Messenger. It’s free, easy to install and comes with a user interface your customers are already familiar with.
|
5 |
Author: Facebook
|
6 |
Author URI: https://developers.facebook.com
|
7 |
+
Version: 1.5
|
8 |
|
9 |
* Copyright (C) 2017-present, Facebook, Inc.
|
10 |
*
|
26 |
|
27 |
function fbmcc_inject_messenger() {
|
28 |
if( get_option( 'fbmcc_pageID' ) != '' ) {
|
29 |
+
$genCode = "";
|
30 |
$genCode .= "
|
31 |
<div id='fb-root'></div>
|
32 |
<script>(function(d, s, id) {
|
options.php
CHANGED
@@ -98,9 +98,9 @@ function fbmcc_integration_settings() {
|
|
98 |
>
|
99 |
<?php
|
100 |
if( get_option( 'fbmcc_pageID' ) == "" ) {
|
101 |
-
_e( 'Setup
|
102 |
} else {
|
103 |
-
_e( 'Edit
|
104 |
}
|
105 |
?>
|
106 |
</button>
|
@@ -123,7 +123,7 @@ function fbmcc_integration_settings() {
|
|
123 |
<div class="intro">
|
124 |
<p class="fbmcc-instructions">
|
125 |
Use of this plugin is subject to <a href='https://developers.facebook.com/policy/'>Facebook's Platform Policies</a><br><br>
|
126 |
-
Having a problem with
|
127 |
Report the issue on the <a
|
128 |
href='https://developers.facebook.com/support/bugs/'
|
129 |
target='_blank'>
|
@@ -132,7 +132,7 @@ function fbmcc_integration_settings() {
|
|
132 |
<a
|
133 |
href='https://wordpress.org/support/plugin/facebook-messenger-customer-chat'
|
134 |
target='_blank'>
|
135 |
-
|
136 |
</p>
|
137 |
</div>
|
138 |
</div>
|
98 |
>
|
99 |
<?php
|
100 |
if( get_option( 'fbmcc_pageID' ) == "" ) {
|
101 |
+
_e( 'Setup Chat Plugin' );
|
102 |
} else {
|
103 |
+
_e( 'Edit Chat Plugin' );
|
104 |
}
|
105 |
?>
|
106 |
</button>
|
123 |
<div class="intro">
|
124 |
<p class="fbmcc-instructions">
|
125 |
Use of this plugin is subject to <a href='https://developers.facebook.com/policy/'>Facebook's Platform Policies</a><br><br>
|
126 |
+
Having a problem with the Chat Plugin?
|
127 |
Report the issue on the <a
|
128 |
href='https://developers.facebook.com/support/bugs/'
|
129 |
target='_blank'>
|
132 |
<a
|
133 |
href='https://wordpress.org/support/plugin/facebook-messenger-customer-chat'
|
134 |
target='_blank'>
|
135 |
+
Facebook Chat Plugin forum</a>.
|
136 |
</p>
|
137 |
</div>
|
138 |
</div>
|
readme.txt
CHANGED
@@ -1,17 +1,26 @@
|
|
1 |
-
===
|
2 |
Contributors: facebook
|
3 |
-
Tags: Facebook, Messenger, Customer Care, Chat, Messaging
|
4 |
Requires at least: 3.9
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 1.
|
7 |
Requires PHP: 5.2.4
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
The
|
12 |
|
13 |
== Description ==
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
== Installation ==
|
17 |
|
@@ -23,19 +32,19 @@ __Requires PHP Version:__ 5.2.4 or higher
|
|
23 |
<br />
|
24 |
|
25 |
__Facebook Presence__ <br />
|
26 |
-
In order to use the
|
27 |
Once you have your Facebook Page ready, you will be asked to login to Facebook on the computer or device you are using to install the plugin. You can then follow the directions below.
|
28 |
|
29 |
= Installing =
|
30 |
-
To install the
|
31 |
1. Log in to your WordPress dashboard, navigate to the Plugins menu and click Add New. <br />
|
32 |
-
2. In the search field, type '
|
33 |
|
34 |
= Updating =
|
35 |
Following the [Facebook platform and versioning](https://developers.facebook.com/docs/apps/versions), all versions will be supported for 2 years from launch. Updating should be safe and easy.
|
36 |
|
37 |
= Configure plugin for first use =
|
38 |
-
After navigating to the
|
39 |
1. You will be asked to select the language and you can customize the greeting message. The default greeting is "Hi! How can we help you?"
|
40 |
2. The next screen allows you to select your response time and chat color. By setting the response time, you can set expectations with your customers on when they will receive a response
|
41 |
3. Next, click on 'Finish' to save these settings and click 'Done' to close this window. The Messenger customer chat plugin should now be installed.
|
@@ -57,35 +66,32 @@ If you get stuck, or have any questions, you can ask for help in the [Messenger
|
|
57 |
|
58 |
== Frequently Asked Questions ==
|
59 |
|
60 |
-
=
|
61 |
-
You can find more information on the [Messenger customer chat page](https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin).
|
62 |
-
|
63 |
-
= What do I need before setting up Messenger customer chat on my website? =
|
64 |
You will need to have a published Facebook Page and be logged into Facebook on your computer or device.
|
65 |
|
66 |
= How does the plugin work? =
|
67 |
-
The plugin is a snippet of JavaScript code that runs on your WordPress website. There will be a small Messenger chat bubble that loads with your website in the lower right corner. Your customers can click on it at anytime and message you. It works on both mobile and desktop.
|
68 |
|
69 |
= Where can I see all my messages? =
|
70 |
-
|
71 |
|
72 |
= What permissions do I need on a Page to enable the Messenger customer chat feature? =
|
73 |
You need be an administrator of the Page.
|
74 |
|
75 |
-
= Why are some of my users seeing an additional confirmation window after clicking "Chat Now"? =
|
76 |
-
A "Continue As" popup is shown infrequently for security purposes. Most signed-in users will only have to click the plugin itself to opt in, without having to re-confirm. Additionally, as more users message you via the plugin, the "Continue As" popup will be shown less often.
|
77 |
-
|
78 |
= Can I see messaging analytics for my Facebook page? =
|
79 |
-
|
80 |
|
81 |
= Where can I find support? =
|
82 |
-
If you get stuck, or have any questions, you can ask for help in the [
|
83 |
|
84 |
= I am a developer. Can I help improve the plugin? =
|
85 |
Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [WordPress Messenger customer chat plugin repository](https://github.com/facebookincubator/wordpress-messenger-customer-chat-plugin).
|
86 |
|
87 |
== Changelog ==
|
88 |
|
|
|
|
|
|
|
89 |
= 1.4 - April 13, 2020 =
|
90 |
* Tested up to WordPress 5.3.2
|
91 |
* Simplify installation flow
|
@@ -108,6 +114,9 @@ Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can
|
|
108 |
|
109 |
== Upgrade Notice ==
|
110 |
|
|
|
|
|
|
|
111 |
= 1.4 =
|
112 |
* Simplify installation flow
|
113 |
|
1 |
+
=== The Official Facebook Chat Plugin ===
|
2 |
Contributors: facebook
|
3 |
+
Tags: Facebook, Messenger, Customer Care, Chat, Messaging, Chat Plugin
|
4 |
Requires at least: 3.9
|
5 |
+
Tested up to: 5.4.1
|
6 |
+
Stable tag: 1.5
|
7 |
Requires PHP: 5.2.4
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
The Official Facebook Chat Plugin
|
12 |
|
13 |
== Description ==
|
14 |
+
With one click, you can add the Facebook Chat Plugin to your website, enabling customers to message you while browsing your website. To see and reply to those messages, simply use the same messaging tools you use for your Facebook messaging, on desktop at facebook.com, Facebook Page Manager App (available on iOS and Android), or by adding your page account to Messenger. It’s free, easy to install and comes with a user interface your customers are already familiar with.
|
15 |
+
|
16 |
+
Key features of the Chat Plugin:
|
17 |
+
|
18 |
+
- No disconnection: Using the plugin creates a long-lived thread between you and your customers in Messenger. Customers can start a chat on your website and carry on in their mobile device with the Messenger app.
|
19 |
+
- Chat transcripts are automatically created in the customer’s Messenger account
|
20 |
+
- The familiar, modern interface of Messenger builds trust and encourages your customers to engage with you
|
21 |
+
- You can use the same Inboxes on desktop and mobile that you use to manage your Facebook page messaging
|
22 |
+
- You can set up hours of availability, auto replies and FAQ to serve customers when you’re not available
|
23 |
+
|
24 |
|
25 |
== Installation ==
|
26 |
|
32 |
<br />
|
33 |
|
34 |
__Facebook Presence__ <br />
|
35 |
+
In order to use the Chat Plugin, you will need to have a published Facebook Page. You can find a list of your Facebook Pages by following this [link](https://www.facebook.com/bookmarks/pages). If you do not have a Facebook Page, you can create one for free [here](https://www.facebook.com/pages/creation/?ref_type=pages_you_admin).
|
36 |
Once you have your Facebook Page ready, you will be asked to login to Facebook on the computer or device you are using to install the plugin. You can then follow the directions below.
|
37 |
|
38 |
= Installing =
|
39 |
+
To install the Chat Plugin: <br />
|
40 |
1. Log in to your WordPress dashboard, navigate to the Plugins menu and click Add New. <br />
|
41 |
+
2. In the search field, type 'Facebook Chat Plugin' and click 'Search Plugins'. Select the plugin authored by 'Facebook'. You can install it by simply clicking 'Install Now'.
|
42 |
|
43 |
= Updating =
|
44 |
Following the [Facebook platform and versioning](https://developers.facebook.com/docs/apps/versions), all versions will be supported for 2 years from launch. Updating should be safe and easy.
|
45 |
|
46 |
= Configure plugin for first use =
|
47 |
+
After navigating to the Chat Plugin settings page, click on 'Setup Customer Chat.' A new window will appear for setting up the plugin and you will be asked to select the Facebook Page you want to use. Next, you will go through the plugin setup with the following steps:
|
48 |
1. You will be asked to select the language and you can customize the greeting message. The default greeting is "Hi! How can we help you?"
|
49 |
2. The next screen allows you to select your response time and chat color. By setting the response time, you can set expectations with your customers on when they will receive a response
|
50 |
3. Next, click on 'Finish' to save these settings and click 'Done' to close this window. The Messenger customer chat plugin should now be installed.
|
66 |
|
67 |
== Frequently Asked Questions ==
|
68 |
|
69 |
+
= What do I need before setting up the Chat Plugin on my website? =
|
|
|
|
|
|
|
70 |
You will need to have a published Facebook Page and be logged into Facebook on your computer or device.
|
71 |
|
72 |
= How does the plugin work? =
|
73 |
+
The plugin is a snippet of JavaScript code that runs on your WordPress website. There will be a small Messenger chat bubble that loads with your website in the lower right corner. Your customers can click on it at anytime and message you. It works on both mobile and desktop.
|
74 |
|
75 |
= Where can I see all my messages? =
|
76 |
+
On the desktop, you can see all messages in your Page Inbox. Navigate to your Facebook Page on Facebook and click on 'Inbox' at the top. On mobile, you can download the Facebook Pages Manager app and navigate to Inbox. You can also link your Page account to your Messenger app and access all your messages there.
|
77 |
|
78 |
= What permissions do I need on a Page to enable the Messenger customer chat feature? =
|
79 |
You need be an administrator of the Page.
|
80 |
|
|
|
|
|
|
|
81 |
= Can I see messaging analytics for my Facebook page? =
|
82 |
+
On the desktop, go to your Facebook page, and click on Insights on the Navigation bar. On the left hand side, click on Messaging to see your messaging analytics.
|
83 |
|
84 |
= Where can I find support? =
|
85 |
+
If you get stuck, or have any questions, you can ask for help in the [Official Facebook Chat Plugin forum](https://wordpress.org/support/plugin/facebook-messenger-customer-chat). If you would like to file a bug, please use the Facebook Bug tool found [here](https://developers.facebook.com/support/bugs/).
|
86 |
|
87 |
= I am a developer. Can I help improve the plugin? =
|
88 |
Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [WordPress Messenger customer chat plugin repository](https://github.com/facebookincubator/wordpress-messenger-customer-chat-plugin).
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
= 1.5 - April 29, 2020 =
|
93 |
+
* Fix undefined variable error message
|
94 |
+
|
95 |
= 1.4 - April 13, 2020 =
|
96 |
* Tested up to WordPress 5.3.2
|
97 |
* Simplify installation flow
|
114 |
|
115 |
== Upgrade Notice ==
|
116 |
|
117 |
+
= 1.5 =
|
118 |
+
* Fix undefined variable error message
|
119 |
+
|
120 |
= 1.4 =
|
121 |
* Simplify installation flow
|
122 |
|