Bocho Todorov
Bocho Todorov

Reputation: 429

Facebook chat plugin not displaying on my website

The instructions are extremely simple and easy I have generated the following code through the "Customer Chat Plugin Setup"

<!-- 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';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<!-- Your customer chat code -->
<div class="fb-customerchat"
  attribution=setup_tool
  page_id="124030157608968">
</div>

but the chat icon does not appear.

Any suggestions?

enter image description here

Upvotes: 2

Views: 3096

Answers (1)

Arnis Juraga
Arnis Juraga

Reputation: 1045

Can You try to change js.src attribute to:

js.src = 
"https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12"

This can be a temporary issue Live Chat Disappeared @Nov 19, 2018, 10:07 AM

Upvotes: 2

Related Questions