我可以使用 https 作为常规画布 URL 吗?
我可以对“Canvas URL”和“Secure Canvas URL”使用相同的 URL(两者都是 HTTPS)吗?
浏览器似乎不会发出有关 http 页面中 https 组件的警告,但就 Facebook 政策而言可以吗?
Can I use the same URL for both 'Canvas URL' and 'Secure Canvas URL' - where both are HTTPS?
The browser does not seem to issue warnings regarding https components in an http page, but is it OK as far as Facebook policy is concerned?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,您可以对两者使用相同的 https url。但不幸的是,这仅适用于
Canvas URL
和Secure Canvas URL
,但不适用于Page Tab URL
和Secure Page Tab URL
>。对我来说这似乎是一个错误,因为您也可以在那里设置 https url,但在对您的站点的请求中该协议被忽略。
Yes, you can use the same https url for both. But unfortunately this only works for
Canvas URL
andSecure Canvas URL
but not forPage Tab URL
andSecure Page Tab URL
.Seems like a bug to me, since you can set a https url there too, but the protocol is ignored in the request to your site.
Facebook 的政策是所有应用程序都通过 HTTPS 提供服务。
Facebook policy is for all apps to be served via HTTPS.