Dravis800
Dravis800

Reputation: 93

Is it possible to use a twilio number for whatsapp verification on BlueStacks?

I installed bluestacks and whatsapp in it on my pc, sent the verification code to my twilio account, however I'm not receiving any confirmation code sms. If I send a normal sms from my phone to the twilio number it is received and displayed normally in the logs, but the whatsapp verification message isn't.

Upvotes: 2

Views: 2038

Answers (2)

Alejandro Fuentes
Alejandro Fuentes

Reputation: 21

I encountered the same issue. I purchased a Twilio phone number to use with the WhatsApp Cloud API but couldn't receive the verification code via SMS. To solve this, I set up a function in Twilio to forward calls to my physical cellphone.

On Meta's website, I selected the phone call option as the verification method, received the call on my physical cellphone, and was finally able to verify my Twilio phone number.

I followed this Twilio guide to setup the proxy function on Twilio: https://www.twilio.com/en-us/blog/protect-phone-number-proxying-twilio-phone-numbers-twilio-voice-twilio-functions

Upvotes: 1

philnash
philnash

Reputation: 73027

Twilio developer evangelist here.

There are many reasons you may not be receiving SMS messages to your Twilio number. In this case it is likely that WhatsApp are trying to send the message using a short code or alphanumeric sender ID. It's also possible that WhatsApp refuses to send verification codes to VOIP numbers, like Twilio numbers. In general it is not a good practice to use Twilio numbers to receive verification codes.

There is more discussion on this sort of thing on this question.

Upvotes: 6

Related Questions