'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 ?
Solution 1:[1]
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!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ronak Sethi |