Closed cidocamp0s closed 3 years ago
CheckNumber function always returns TRUE, as the image above shows.
The original return was a 404 NOT FOUND if the number havent whatsapp or 200 if the number has a valid whatsapp.
how to solve this issue?
use callback to get the results
WAPI.checkNumberStatus("XXXXXXXXXX@c.us",function(){console.log(arguments[0])})
CheckNumber function always returns TRUE, as the image above shows.
The original return was a 404 NOT FOUND if the number havent whatsapp or 200 if the number has a valid whatsapp.
how to solve this issue?