我正在本地主机上开发一个应用程序,突然出现这个错误:
The method FB.api will stop working when called from http pages in X days. Please update your site to use https for Facebook Login.
当时间用完时,我还能在本地主机上开发吗?
最佳答案
根据 Facebook 公告:
You will still be able to use HTTP with “localhost” addresses, but only while your app is still in development mode.
链接:https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/
关于facebook - 在 X 天内从 http 页面调用时,方法 FB.api 将停止工作。请更新您的网站以使用 https 进行 Facebook 登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52397463/