Facebook Chat Plugin Not working

tharaka911
Excursionist
31 0 5

Hi Communit,

 

I just added the Facebook messenger plugin, but it's not showing. I follwed the below article and below code. 

https://www.facebook.com/business/help/1524587524402327

<!-- Messenger Chat Plugin Code -->
<div id="fb-root"></div>

<!-- Your Chat Plugin code -->
<div id="fb-customer-chat" class="fb-customerchat">
</div>

<script>
var chatbox = document.getElementById('fb-customer-chat');
chatbox.setAttribute("page_id", "104808868488151");
chatbox.setAttribute("attribution", "biz_inbox");
window.fbAsyncInit = function() {
FB.init({
xfbml : true,
version : 'v11.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_US/sdk/xfbml.customerchat.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>

 

 

Thank You. 

Replies 31 (31)
tharaka911
Excursionist
31 0 5

Thanks for the support. I tried every possible way. 

meuoi23
New Member
1 0 1

Same issue. Were you able to solve it ?

gbc2021
Tourist
4 0 0

I'm having the same issue.. please let me know what worked for you

FredShane
New Member
2 0 0

Did you use the ella theme? Because I also have this problem, when I switch to the default theme, it can be used normally after pasting the code

aio_xp
Pathfinder
99 11 28

website URL?

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
Feel free to contact me on kuparkoti@gmail.com regarding any help
| Whatsapp: 00971568836211

aio_xp
Pathfinder
99 11 28

it's working now.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
Feel free to contact me on kuparkoti@gmail.com regarding any help
| Whatsapp: 00971568836211

Yong_Lee20
New Member
4 0 0

How could you do it? I'm having the same issue here.

Yong_Lee20
New Member
4 0 0

Have you found the solution?