how to put Facebook chat to website

Industrial Technology Faculty of VRU
2 Posts
Industrial Technology Faculty of VRU posted this 08 October 2021
Ask a Question

how to put Facebook chat to website ?
http://itecweb.vru.ac.th/zAll/ois/web.php <<< this simple

<div id="fb-root"></div>

<!-- Your ปลั๊กอินแชท code -->
<div id="fb-customer-chat" class="fb-customerchat">
</div>

<script>
  var chatbox = document.getElementById('fb-customer-chat');
  chatbox.setAttribute("page_id", "1556618191222024");
  chatbox.setAttribute("attribution", "biz_inbox");

  window.fbAsyncInit = function() {
    FB.init({
      xfbml            : true,
      version          : 'v12.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/th_TH/sdk/xfbml.customerchat.js';
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
**how to put Facebook chat to website ?** http://itecweb.vru.ac.th/zAll/ois/web.php &lt;&lt;&lt; this simple <div id="fb-root"></div> <!-- Your ปลั๊กอินแชท code --> <div id="fb-customer-chat" class="fb-customerchat"> </div> <script> var chatbox = document.getElementById('fb-customer-chat'); chatbox.setAttribute("page_id", "1556618191222024"); chatbox.setAttribute("attribution", "biz_inbox"); window.fbAsyncInit = function() { FB.init({ xfbml : true, version : 'v12.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/th_TH/sdk/xfbml.customerchat.js'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 08 October 2021

Hi,

Thanks for being our customer!

I have tried to add your code to a Nicepage page, but with no result. Please try to embed Facebook chat using this instruction: https://www.facebook.com/business/help/1524587524402327

It is noted that you can add the chat from a website builder including WordPress. Nicepage supports WordPress. You can design your pages and theme in the Nicepage application and export them to WordPress.

Please let us know if you need our further help.
...................................................
Sincerely,
Paul C.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Thanks for being our customer! I have tried to add your code to a Nicepage page, but with no result. Please try to embed Facebook chat using this instruction: https://www.facebook.com/business/help/1524587524402327 It is noted that you can add the chat from a website builder including WordPress. Nicepage supports WordPress. You can design your pages and theme in the Nicepage application and [export them][1] to WordPress. Please let us know if you need our further help. ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp [1]: https://nicepage.com/doc/66707/installation-of-wordpress-theme-and-pages
Industrial Technology Faculty of VRU
2 Posts
Industrial Technology Faculty of VRU posted this 08 October 2021

Thank ... now is running ... i have put html code in footer this is run all page .. as this link
http://itecweb.vru.ac.th/zAll/ois/

Thank ... now is running ... i have put html code in footer this is run all page .. as this link http://itecweb.vru.ac.th/zAll/ois/

Last edited 08 October 2021 by Industrial Technology Faculty of VRU

Support Team
Support Team posted this 08 October 2021

Hi,

We're glad that it works now! Please let us know if you need our further help.
...................................................
Sincerely,
Paul C.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, We're glad that it works now! Please let us know if you need our further help. ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments