Streaming live at 10am (PST)

Whatshelp Custom code script not working

Hi, I try to generate a widget through whatshelp

  1. got my script
    <script type="text/javascript">
    (function () {
        var options = {
            call_to_action: "Message us", // Call to action
            button_color: "#000000", // Color of button
            position: "right", // Position may be 'right' or 'left'
        };
        var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
        var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
        s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
        var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
    })();
    </script>
    <!-- /WhatsHelp.io widget -->
  1. put it on my page setting
  2. publish site to webflow.io domain
  3. it’s not working

please help

Hi, it does not work because you deleted the contact for communication. In particular, this line:
whatsapp: “+1234567890”, // WhatsApp number

<!-- /WhatsHelp.io widget -->
	<script type="text/javascript">
(function () {
    var options = {
        whatsapp: "+1234567890", // WhatsApp number
        call_to_action: "Message us", // Call to action
        button_color: "#000000", // Color of button
        position: "right", // Position may be 'right' or 'left'
    };
    var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
    var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
    s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
    var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
})();
</script>

Hi,

I have tried below code for Facebook Messenger button but its not working and showing blank screen of chat.

<!-- WhatsHelp.io widget -->
<script type="text/javascript">
    (function () {
        var options = {
            facebook: "196079677504686", // Facebook 
page ID
            call_to_action: "Message us!", // Call to 
action
            position: "right", // Position may be 
'right' or 'left'
        };
        var proto = document.location.protocol, host = 
"whatshelp.io", url = proto + "//static." + 
host;
        var s = document.createElement('script'); 
s.type = 'text/javascript'; s.async = true; s.src = url + 
'/widget-send-button/js/init.js';
        s.onload = function () { 
WhWidgetSendButton.init(host, proto, options); };
        var x = 
document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, 
x);
    })();
</script>
<!-- /WhatsHelp.io widget -->

This facebook: "196079677504686", // Facebook page ID code not coming in their site when we follow 3 steps to create widget from https://whatshelp.io/widget.

Also, no solution is available on google. Can you please help to fix it.