I've just setup the facebook messenger settings and to my disappointment i've realised it's only a link to facebook messenger.
The feature request: Please can we have facebook chat plugin? (https://developers.facebook.com/docs/messenger-platform/discovery/facebook-chat-plugin/)
It allows live chat with or without a facebook account directly to our facebook page.
Support bit: Is there any current workaround to manually add it?
According to facebook instructions the code snippet they provide needs to be inserted directly after the <body> tag.
so far i have tried:
The facebook code snippet is:
<!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
xfbml : true,
version : 'v8.0'
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src='https://connect.facebook.net/en_GB/sdk/xfbml.customerchat.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<!-- Your Chat Plugin code -->
<div class="fb-customerchat"
attribution=setup_tool
page_id="[Redacted]36811"
theme_color="#934EA6"
logged_in_greeting="Hi! How can we help you?"
logged_out_greeting="Hi! How can we help you?">
</div>
Thanks
Square Community