Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I login to test Facebook user accounts from the Android native app?

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.

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.

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?

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.

like image 384
tomtheguvnor Avatar asked Jul 05 '11 15:07

tomtheguvnor


2 Answers

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.

like image 128
bkaid Avatar answered Nov 10 '22 03:11

bkaid


I have the same problem, I created test users, but cannot log on as them from the android native app on my android device. I have not tried the emulator.

I found a bug open on facebook site for something similar and added my weight on it. Hopefully they will look into it if many people report having the same issue.

To my mind, this is so important! This should be fixed if it indeed is broken.

http://developers.facebook.com/bugs/403919519621830

like image 32
doles Avatar answered Nov 10 '22 03:11

doles