FROM CACHE - en_header

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 32 (32)
gbc2021
Tourist
5 0 0
Hi! I ended up updating my website theme ( I have a third party theme, so I
had to go to their website directly to download the update) and then it
magically worked. Not sure if it was just coincidence, but that's what I
did.
Yong_Lee20
New Member
4 0 0
Thank you so much. I try to contact my theme support to see if they can
solve the problem. Best of luck of your ecommerce journey.
jheestoque02
New Member
1 0 0

How'd you do this one? Tis also my problem. Prestige theme.

IsabelLoureiro
New Member
1 0 0

Does anyone got a solution for Minimal theme? 

TheOfficialBlog
Shopify Partner
110 11 30
bbtemporium
New Member
2 0 2

Mine is also not working for minimal theme.

TheOfficialBlog
Shopify Partner
110 11 30

please connect me to fix the issue.

Yong_Lee20
New Member
4 0 0
For me, I follow the Video here https://www.youtube.com/watch?v=zw4CvM4vX2c
.
Pay attention to the part "It helps to open Both Shopify and Facebook in
the 2 tabs of the SAME brower". Miraculously, it works.
bbtemporium
New Member
2 0 2

I finally figured out why mine was not working. In Facebook business, it had automatically added my domain as http://www.bubbleteaemporium.com.au

I then added a new domain in the chat plugin setup https://bubbleteaemporium.com.au notice the https:// and I removed the www

Its now working.

Nenekafor
New Member
5 0 0

hi, please wanted to ask if this issue was resolved, having same problem with my installation too. thank you

Nenekafor
New Member
5 0 0

thank you. it worked!!!

Winnie6
New Member
1 0 0

How do you only do it? My FB chat plug-in is displayed on my website, but no chat box will appear when I click it. what do I do?

rishandbhav
New Member
1 0 0

This also worked for us! Thank you for posting your solution, it was driving me mad!