为什么我在Facebook登录页面上收到此警告消息?

dop*_*umi 7 facebook facebook-javascript-sdk

我在本地部署的Web应用程序上首次尝试使用Facebook登录API.

在他们的文档中使用片段初始化API,并在我的HTML页面上有一个按钮

<button type="button" onclick="fbLogin()">
Run Code Online (Sandbox Code Playgroud)

哪里fbLogin()

function fbLogin() {
    FB.login(function(response) {
        console.log(response);

        // handle the response
        if (response.status === 'connected') {
            // Logged into your app and Facebook.
        } else if (response.status === 'not_authorized') {
            // The person is logged into Facebook, but not your app.
        } else {
            // The person is not logged into Facebook, so we're not sure if
            // they are logged into this app or not.
        }
    }, {scope: 'public_profile,email,user_friends'}); // TODO: If the user doens't provide the email address prompt it for email. Also, don't ask for friend list when its a simple logout maybe? Specify why it's needed first. If it doesn't provide the friends access, re-prompt the request, explaining him it can have a more social experience if he accepts (can see when its friends win and congratulate with them, (we can also prom him to invite some friends))
}
Run Code Online (Sandbox Code Playgroud)

当我尝试在大型浏览器窗口或标签中登录消息"您正在使用'popup'的显示类型.为了获得更好的用户体验,请使用我们的JavaScript SDK显示此对话框,而不指定显式显示类型.SDK将为每个环境选择最佳显示类型.或者,如果您有特殊要求阻止您使用SDK,请在window.open()调用上设置高度和宽度以正确调整此对话框的大小.此消息仅对您的应用程序的开发人员可见".出现. 截图

如您所见,我没有指定任何特定的显示类型; 所以我真的不知道如何处理这条消息.

其他Google条目没有针对此问题的解决方案.

我需要采取什么行动才能将其删除?