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)
gbc2021
Tourist
4 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? 

aio_xp
Pathfinder
99 11 28

please hire shopify expert to fix the issue, https://community.shopify.com/c/jobs-and-careers/bd-p/shopify-job-board

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

bbtemporium
New Member
2 0 0

Mine is also not working for minimal theme.

aio_xp
Pathfinder
99 11 28

please connect me to fix the issue.

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
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 0

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