How can add Facebook messenger to your website?

Today I will share how can add Facebook messenger to your WordPress site.

Please keep reading this article and follow my ways.Often you see many website using Facebook messenger chat widget,Whatsapp chat widget.That widget will visiting your Facebook page to your website easy and quick.

Just follow below.

Open your Facebook page

Go to page setting

Click on messenger tab

Click on get started tab of your page and add your website address

And click next step

And click again next step button

And you will see div code

<!-- Load Facebook SDK for JavaScript -->
      <div id="fb-root"></div>
        window.fbAsyncInit = function() {
            xfbml            : true,
            version          : 'v7.0'

        (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); = id;
        js.src = '';
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));</script>

      <!-- Your Chat Plugin code -->
      <div class="fb-customerchat"

After copy div code.Go to your WordPress site and

Click appearance>Customize>Add widget anywhere that place where you show your website.

By the way if you’re website is coding with HTML, CSS,PHP

Copy code is add to your Appearance>Theme Editor>

Code add to before </body>.

After you add Facebook messenger chat code to your WordPress and save or update.

That is all .If you have any questions or concerns please let me know in comment.

Thanks for visiting my site.

Be the first to comment

Leave a Reply

Your email address will not be published.