简体   繁体   English

登录“发生错误”

[英]Login “An Error has Occurred”

I am having an issue when upgrading from Facebook's PHP SDK version 2.1.2 to 3.1.1 in anticipation for the Oct 1, 2011 cutoff. 从2011年10月1日起将Facebook的PHP SDK版本2.1.2升级到3.1.1时遇到问题。 The url appears to have changed: 网址似乎已更改:

FROM

https://www.facebook.com/login.php?api_key=MY_KEY https://www.facebook.com/login.php?api_key=MY_KEY

TO

https://www.facebook.com/dialog/oauth?client_id=MY_KEY https://www.facebook.com/dialog/oauth?client_id=MY_KEY

Everytime I generate the new URL I keep receiving "An error occurred with Website. Please try again later." 每次生成新的URL时,我都会不断收到“网站发生错误。请稍后重试。”

I have searched the wiki/faq on Github page for sdk, but haven't found anything. 我已经在Github页面的wiki / faq上搜索了sdk,但没有找到任何东西。

Anyone else having this issue? 还有谁有相同的问题吗?

I had this exact same problem while converting a Connect application. 转换Connect应用程序时,我遇到了完全相同的问题。 I figured it out! 我想到了! Connect used the application KEY (which is alphanumeric). Connect使用了应用程序KEY(字母数字)。 The new API / oAuth requires the application ID (which is shorter and numeric). 新的API / oAuth需要应用程序ID(较短的数字)。 An invalid application ID consistently returns this generic error. 无效的应用程序ID始终返回此一般错误。 Hope this helps. 希望这可以帮助。

Just in case someone else has this same issue you can also try disabling sandbox mode on your app's config settings on facebook. 万一其他人遇到了同样的问题,您也可以尝试在Facebook的应用配置设置中禁用沙盒模式。 My scenario was that I could login using facebook but no one else could. 我的情况是我可以使用Facebook登录,但没有其他人可以登录。

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

相关问题 “糟糕,发生错误” Instagram 登录错误 - "Oops, an error occurred" instagram login error Joomla Backend - 切换到新主机后无法登录。 “发生了错误。 0无法打开写入日志的文件“ - Joomla Backend - Cannot login after switching to new host. “An error has occurred. 0 Cannot open file for writing log” 500-发生错误。 在joomla 2.5中 - 500 - An error has occurred. in joomla 2.5 发生phpMyAdmin致命Javascript错误 - phpMyAdmin Fatal Javascript Error Has Occurred 贝宝沙盒:发生内部服务错误 - Paypal Sandbox: An internal service error has occurred Android - cordova - 发生网络错误 - Android - cordova - A network error has occurred Facebook登录错误:发生错误。 请稍后再试 - facebook login error: An error occurred. Please try later 登录后CodeCodeigniter无法继续发生数据库错误 - CodeCodeigniter cant proceed after login A Database Error Occurred 将Salesforce SOAP API与PHP结合使用时发生错误-“发生内部错误” - Error using Salesforce SOAP API with PHP - “An internal error has occurred” Google Adwords API“发生错误:{”error“:”invalid_grant“}” - Google Adwords API “An error has occurred: { ”error“ : ”invalid_grant“ }”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM