从 10 月 1 日开始,所有 Facebook Graph API 调用都需要 HTTPS 吗?
我自己托管了一个使用图形 API 的应用程序。我已经更新到 OAuth 2.0,但是现在我的所有 API 调用都要求我使用 HTTPS 吗?Facebook 会自动重定向不使用 HTTPS 的调用吗?
我注意到所有 API 文档都显示 https URL,这让我很担心。
I have an app I host myself which makes use of the graph API. I have already update to OAuth 2.0 but do all of my API calls now require that I use HTTPS? Will Facebook auto redirect calls that are made without HTTPS?
I've noticed that all of the API documentation shows https URLs which makes me worried.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为此更改不会影响您的 Graph API 调用,因为它们已经在使用 HTTPS。
Oct 1st HTTPS 指的是您的画布 URL - 它必须是 HTTPS。
I don't think this change will affect your Graph API calls, as they are already using HTTPS.
The Oct 1st HTTPS thing refers to your canvas URL - it has to be HTTPS.
10 月 1 日截止日期并不规定 grahp 调用必须通过 HTTPS 发送。任何使用 access_token 的调用都需要使用 SSL,并且越来越多的开放调用(不需要 access_token)开始需要 access_token,因此建议您开始将所有图形调用切换到 https,如下所示你有能力。 Facebook 不会将非 http 请求转发到 https。
The October 1st deadline does not dictate that grahp calls must be sent over HTTPS. Any call that uses an access_token is already required to use SSL, and more and more calls that were open (didn't require an access_token) are starting to require an access_token so it is recommended that you start switching all your graph calls to https as you are able. Facebook won't forward non-http requests over to https.