FaceBook Messenger web site chat is great!
I would like to integrate it in my Wisej project lekodar.com.
From FB they gave me a integration module. I placed it in index.html page, but no chat icon appear on the bottom right corner of the page.
How I can integrate FB Messenger web site chat?
I will be very happy to have this chat on my Wisej site. Please help!
<!– Load Facebook SDK for JavaScript –>
<div id=”fb-root”></div>
<script>(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_US/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12&autoLogAppEvents=1’;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<!– Your customer chat code –>
<div class=”fb-customerchat”
attribution=setup_tool
page_id=”SOMEPAGEID”
theme_color=”#20cef5″
logged_in_greeting=”Здравейте! С какво да Ви бъдем полезни?”
logged_out_greeting=”Здравейте! С какво да Ви бъдем полезни?”>
</div>
Hi again!
It worked. But when log into Web application (lekodar.com) can’t use chat. Chat message send field constantly loses focus. And impossible to type a message.
If there is a form on the page (form or message) chat works. But if there is no form on the page message field loses focus.
I suggest to make it work with a plain html page first on your site. Then copy it to the wisej html page.
Please login first to submit.