x

Facebook Chat Plugin

I've just setup the facebook messenger settings and to my disappointment i've realised it's only a link to facebook messenger.

 

The feature request: Please can we have facebook chat plugin? (https://developers.facebook.com/docs/messenger-platform/discovery/facebook-chat-plugin/)

It allows live chat with or without a facebook account directly to our facebook page.

 

 

Support bit: Is there any current workaround to manually add it?

According to facebook instructions the code snippet they provide needs to be inserted directly after the <body> tag.

so far i have tried:

  • embedded code section - Just doesn't work and i really don't want to go add this to every page like this
  • Custom header code (both <head> and end of <body>) this gives the following error when trying to save it "Invalid HTML detected. Only <script> <noscript> <meta> are allowed as root HTML tags."

The facebook code snippet is:

<!-- Load Facebook SDK for JavaScript -->
      <div id="fb-root"></div>
      <script>
        window.fbAsyncInit = function() {
          FB.init({
            xfbml            : true,
            version          : 'v8.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_GB/sdk/xfbml.customerchat.js';
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));</script>

      <!-- Your Chat Plugin code -->
      <div class="fb-customerchat"
        attribution=setup_tool
        page_id="[Redacted]36811"
  theme_color="#934EA6"
  logged_in_greeting="Hi! How can we help you?"
  logged_out_greeting="Hi! How can we help you?">
      </div>

 

Thanks

 

1,389 Views
Message 1 of 9
Report Inappropriate Content
8 REPLIES 8
Admin

Hi @PeteC, thank you for reaching out! I got the same error message when trying to add the code to the Custom Header Code section so I've reached out to the appropriate team and check if there is a way to manually add this code. Once I have an update from the team, I'll reach back out and let you know.

Tra
Community Manager, Square
Have a burning question to ask in our Question of the Week? Share it with us!
1,377 Views
Message 2 of 9
Report Inappropriate Content

Dont think its going to work without providing us more options for custom code. at which point the feature request could be a better solution.

 

I read somewhere its a 58% increase chance of a customer actually buying from you just by having live chat functionality on a site.

1,368 Views
Message 3 of 9
Report Inappropriate Content
Admin

Thanks for letting us know, @PeteC! It has been flagged as a feature request but I'm still trying to see if there is a way to make it work in the meantime. I've run through a few configuration with the team but none are working at the moment, but hopefully something will work. 

Tra
Community Manager, Square
Have a burning question to ask in our Question of the Week? Share it with us!
1,364 Views
Message 4 of 9
Report Inappropriate Content

Any updates?

1,173 Views
Message 5 of 9
Report Inappropriate Content
Admin

No updates yet I'm afraid @NudeBeauty but we'll reply here as soon as we have any news to share!

๏œ๏ธ Helen
Seller Community Manager

Did you find help in the Seller Community? Mark a Best Answer to help others.
1,166 Views
Message 6 of 9
Report Inappropriate Content

Following 

1,175 Views
Message 7 of 9
Report Inappropriate Content
Beta Member

Hi, I also have been pushing this for a while... updates? 

970 Views
Message 8 of 9
Report Inappropriate Content
Square Community Moderator

Hi @FCExcavating, we don't have an update yet on this feature request. We'll update this thread as soon as we have news on this. 

Emma
Community Manager, Square
962 Views
Message 9 of 9
Report Inappropriate Content