【发布时间】:2014-02-05 22:14:47
【问题描述】:
我正在尝试创建 facebook 应用,但画布页面显示 空白。我正在使用本地主机。
在我的 htdocs 文件夹中,我有包含以下内容的基本 php 文件
<html>
<head>
<title>Fb App</title>
</head>
<body>
<h1>Working....</h1>
</body>
</html>
在控制台窗口中出现以下错误
**[blocked] The page at 'https://apps.facebook.com/fooobaaar/' was loaded over HTTPS, but ran insecure content from 'http://localhost/': this content should also be loaded over HTTPS.
(index):37**
**event.returnValue is deprecated. Please use the standard event.preventDefault() instead.**
我想这意味着我需要 https。我真的需要 https 来在 localhost 上进行测试吗
【问题讨论】:
标签: php facebook canvas facebook-php-sdk facebook-apps