为什么我无法从 Android 原生应用登录以测试 Facebook 用户帐户? [英] Why can't I login to test Facebook user accounts from the Android native app?
问题描述
我正在编写一个使用 Facebook 进行身份验证的 Android 应用程序.为了对此进行测试,我编写了一个脚本,该脚本使用 Facebook 文档中提供的指南 创建了许多测试用户帐户.
I'm writing an Android app which makes use of Facebook for authentication. To test this I have written a script which creates a number of test user accounts using the guidelines provided in the Facebook docs.
每个测试用户帐户都带有一个虚假的电子邮件地址和密码.可以使用这些详细信息通过 Facebook 主站点登录每个测试帐户.到目前为止一切都很好.
Each test user account comes with a fake email address and a password. It is possible to login to each test account via the main Facebook site using these details. All good so far.
但是,如果我尝试使用 Facebook 原生 Android 应用程序上的这些详细信息登录我的任何测试用户帐户,甚至通过 m.facebook.com 移动站点,我会收到一条通用信息登录时发生错误. 请稍后再试."错误.
However, If I try to login to any of my test user accounts using these details on the Facebook native Android app, or even via the m.facebook.com mobile site, I get a generic "An error occurred during sign in. Please try again later." error.
有没有其他人遇到过这种情况?是否需要在某处打勾以允许这些测试用户访问移动应用程序?或者测试帐户是否受到限制,无法在移动设备上使用?
Has anyone else experienced this? Is there a box I need to tick somewhere to enable these test users for mobile app access? Or are test accounts restricted so that they cannot be used from a mobile device?
有没有人通过移动设备(尤其是 Android)登录过测试用户帐户?
Has anyone had any luck logging into a test user account from a mobile device, in particular from Android?
非常感谢所有想法和评论.
All thoughts and comments greatly appreciated.
推荐答案
我遇到了足够多的此类问题和其他问题,因此我刚刚切换到创建完整的假帐户,以便根据他们的指导进行测试.我只是厌倦了遇到这些问题.在过去的一年里,我没有遇到任何问题+我创建的 Facebook 帐户大军.
I've ran into enough issues like this and others that I have just switched to creating full fledged fake accounts for testing against their guidance. I just got sick of running into these gotchas. I haven't ran into any issues in the past year + with the army of facebook accounts I have created.
这篇关于为什么我无法从 Android 原生应用登录以测试 Facebook 用户帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!