Let's look at our first recipe on working with text messages. In this recipe, we will send a message to the recipient via SMS. Please note that you may also now have to charge your account for performing the next set of operations.
We start by sending SMS messages with the Twilio APIs. Let's look at how to do it in this section. Before doing that, let's create a Python virtual environment and install
twilio modules with the following steps.
Note that we will use
flask to host a simple web service, which will be called by the telephony provider Twilio. The flask app will then perform the required business operation based on the callback from Twilio. We will know more about this when we look at the recipes. ...