how to move from sandbox to prod on twilio whatsapp - twilio

Twilio Whatsapp - we have tested successfully on sandbox for our whatsapp messaging but how do we migrate it to prod. can someone help help how we can configure for prod.

Twilio developer evangelist here.
To move to production for WhatsApp you should follow the steps outlined in this tutorial.
At a high level the steps are:
Request access to enable your Twilio numbers for WhatsApp
Submit a WhatsApp Sender request in the Twilio console
Approve Twilio to message on your behalf in the Facebook Business Manager console
Submit your Facebook Business Manager account for Business Verification
(Twilio completes your WhatsApp Sender registration)
The tutorial has more details about the steps needed to enable WhatsApp for production use with Twilio.

Related

Twilio sandbox for development

We are using an SMS messaging service to send SMS to customers. In order to test and develop the things do we have any Twilio sandbox? We don't want to test all the things directly in PROD Twilio account.
Searched for a solution for the sandbox in Twilio but was not able. As per the article, we saw that there is an option only for WhatsApp only.
The Test Credentials are pretty helpful if you want to test a function and does an API call without actually sending a SMS.

Twilio WhatsApp - Already bought phone number and creating messages

To send an SMS we can do:
await twilio.messages.create({
to: "07888888888",
from: twilioMessagingServiceSid,
body: "Body of message",
});
When using Whatsapp is it possible to do the same in the from parameter as in passing the twilio messaging service sid?
I would like to be able to support both SMS and WhatsApp for our customers using the same phone number that is already in use for SMS messaging.
Twilio developer evangelist here.
You can enable your Twilio number to send WhatsApp messages as well as SMS messages. There are a few steps to go through, at a high level they look like this:
Request access to enable your Twilio numbers for WhatsApp
Submit a WhatsApp Sender request in the Twilio console
Approve Twilio to message on your behalf in the Facebook Business Manager console
Submit your Facebook Business Manager account for Business Verification
(Twilio completes your WhatsApp Sender registration)
The full instructions to connect your Twilio number to your WhatsApp Business Profile are available in the documentation here.
Once you have done that, you can add your WhatsApp enabled number to the messaging service. Then, when you send a message to a WhatsApp number you can use the messaging service as the from and a WhatsApp number as the to.

Receive inbound sms from Twilio on Joy of Texting Pro Plugin.

I am trying to integrate twilio with the Joy of Texting Pro WP plugin. How do I setup Twilio to send inbound sms to the plugin?
Twilio developer evangelist here.
The documentation for the Joy of Texting Pro has some details on how you setup inbound SMS to the plugin.
You need to log in to your Twilio account and edit the number you are using to receive messages on. You need to enter a URL in the Messaging section for when a message comes in. From what I can tell, you need to use your WordPress application's URL plus ?inbound. e.g https://mywordpresssite.com?inbound
Let me know if that helps at all.

Twilio whatsapp integration

Is it possible to send/receive SMS from whatsapp using twilio number? Anybody tried twilio with whatsapp? I asked customer care, if it is possible, he said, not sure but many people asked about that.
In case anyone else lands here, Twilio just released a WhatsApp integration via their new Business API
https://www.twilio.com/whatsapp
Twilio developer evangelist here.
Whatsapp do not have an API, so it is not possible to send or receive messages to Whatsapp using the Twilio API either.
If you are looking to send and receive messages to services like Whatsapp, then you might be interested in Twilio Channels. Channels are the various APIs that we are integrating into the one Twilio API so it's easy for you to send to all these third party services.
Channels lets you send and receive messages to services like:
Facebook
Slack
HipChat
Line
SendGrid (for email)
Twitter
Amazon Alexa
Viber
And will be supporting the following soon:
WeChat
Kik
BBM
You can sign up for early access to Channels here: https://www.twilio.com/marketplace/channels

Twilio is not able to send text message to DND activated mobile number

my client has registered to Twilio from US. I am developer and using Twilio service for testing purpose in India. I am sending text message to send One time password(OTP) to a mobile no in India for which DND is activated. I am not able to receive OPT via text message. Help me.
Twilio developer evangelist here.
I'm afraid the DND list is the top limitation of Twilio in India right now. You can check the details here.
You could, if you were interested, try using Authy (a different Twilio service) to send OTPs to your users. If they have a smart phone, they can then install the Authy application and generate their OTPs on their devise without the need for an SMS. Check out the Authy documentation for how to get started.

Resources