The method FB.api will stop working when called fr

2020-08-24 07:45发布

问题:

I'm developing an app in localhost and suddenly getting this error:

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.

Will I still be able to develop in localhost when the time runs out?

回答1:

As per Facebook announcement:

You will still be able to use HTTP with “localhost” addresses, but only while your app is still in development mode.

Link: https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/