Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook test users with phone number instead of email

I've been trying to create a bunch of test users for my test application that will be mocking a case when user signed up to Facebook using his phone number (not his email).

Turns out that the tool to create test users (App -> roles -> test users) allows to create only users who have email and there's no way (AFAIK) to change the data without logging in to Facebook as this user and changing his account settings.

Is it not possible or am I missing something?

EDIT 1: I'm not actually able to add a phone number without verification

like image 569
pidabrow Avatar asked Mar 26 '18 19:03

pidabrow


People also ask

Can I log in to Facebook using phone number?

Go to m.facebook.com on your mobile browser. Enter one of the following: Email: You can log in with any email that's listed on your Facebook account. Phone number: If you have a mobile number confirmed on your account, you can enter it here (don't add any zeros before the country code, or any symbols).

How do I use Facebook phone number or email?

Step 2: Tap on the three-bar icon at the top. Step 3: Scroll down and tap on Settings. Step 4: Under Account settings, tap on Personal Information. Step 5: Your registered email ID and phone number will show up.


1 Answers

As others say there is no way to have test user without email address.

What you can do however is to create test user and when logging into your app deny access to email. It will have nearly same effect as logging in with user that has phone number instead of email. You can do it in edit section while logging in(as shown in pictures) Step 1

Step 2

like image 66
ruciu Avatar answered Sep 17 '22 21:09

ruciu