Messenger 插件在开发模式下不可见

Messenger plugin not visible in a dev mode

我正在尝试向网站添加常规 Messenger 插件:https://outrainer.pl

我添加了标准代码:

    <script>
      window.fbAsyncInit = function() {
        FB.init({
          appId            : '1957690761027872',
          autoLogAppEvents : true,
          xfbml            : true,
          version          : 'v7.0'
        });
        
      };
    </script>
    <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script>

    
    <script>
        (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'));

    //FB.CustomerChat.showDialog();
    </script>

并且需要 div:

<div class="fb-customerchat"
 page_id="100751868404123">
</div>

但是我看不到插件。此外,当我尝试从 webcsonsole 运行“FB.CustomerChat”时,它 returns“未定义”。我错过了什么?

https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/ 或使用通过页面设置中的设置工具生成的代码。客户聊天插件不再使用常规 SDK。