简体   繁体   中英

how to check if a phone number is valid whatsapp number in Android?

so I have an edit text that will be used as a view to get phone number from user, say if the phone number is +6123456789, I want to check if this number has whatsapp number or not,i want to avoid the user to input fake whatsapp number, how to do that?

You must have: Facebook Whatsapp Business Api for contacts check

Once you have a valid business account you could then query the Contact . You will get all the details in the documentation .

Hope it works for you!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM