简体   繁体   English

使用Facebook登录网站选项在我的PHP网站中不起作用

[英]Login the site using Facebook option is not working in my PHP sites

I 've created "login using facebook" sections in http://domain.com and http://domain.com/mysite sites. 我在http://domain.comhttp://domain.com/mysite网站上创建了“使用facebook登录”部分。 These sections were working fine till few weeks before. 这些部分工作正常,直到几周前。 But from yesterday when I try to login using facebook to one of these sites, it shows an error 但从昨天我尝试使用Facebook登录其中一个网站时,它显示错误

"An error occurred with your website. Please try again later." “您的网站发生错误。请稍后再试。”

and directly redirect to facebook account only. 并直接重定向到Facebook帐户。 I also tried a demo link in tutorial site http://onlinewebapplication.com/facebook/ . 我还在教程网站http://onlinewebapplication.com/facebook/中尝试了一个演示链接。 it also shows the same error. 它也显示相同的错误。 I want to know that the problem is in coding part in the website or facebook changed anything in their system. 我想知道问题是在网站的编码部分或Facebook改变了他们的系统中的任何东西。 Sorry for my bad english. 对不起,我的英语不好。 Does anyone know a solution to fix this issue? 有谁知道解决这个问题的解决方案?

The endpoint www.facebook.com/login.php has been deprecated and taken out of action recently. 端点www.facebook.com/login.php已被弃用,最近已停止使用。

You'll have to rebuild your login procedure to comply with the techniques described here: https://developers.facebook.com/docs/concepts/login/login-architecture/ 您必须重建登录过程以符合此处描述的技术: https//developers.facebook.com/docs/concepts/login/login-architecture/

If you are using the PHP SDK to create the login URL – make sure you're using the latest version. 如果您使用PHP SDK创建登录URL - 请确保您使用的是最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM