[英]Facebook OAuth Gives Error on Device but Works on Emulator
I am getting an error in signing to Facebook from my Android Application on a device, while the same application works perfectly on the emulator. 从设备上的Android应用程序登录Facebook时出现错误,而同一应用程序在模拟器上运行正常。
When the user presses the Login button on the Facebook signup page, if the user credentials are ok, the same login page will appear again and again. 当用户按下Facebook注册页面上的“登录”按钮时,如果用户凭据正确,则将再次出现相同的登录页面。 When I connected the device in debug mode, I found that Facebook is redirecting my application to a page with "User Access Denied" in the query String. 当我以调试模式连接设备时,我发现Facebook正在将我的应用程序重定向到查询字符串中带有“ User Access Denied”的页面。 But when I run the same application on the emulator, it successfully gets signed in and has no issues with any other functionality. 但是,当我在模拟器上运行相同的应用程序时,它成功登录,并且其他任何功能都没有问题。
嘿,一旦检查了此链接,您可能会找到答案...因为我也遇到了同样的问题,但后来又实现了... 无法在真实设备上检索到Facebook的访问令牌
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.