Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Diane Phan
    How to Use Image Recognition on Twilio WhatsApp API header - How to Use Image Recognition on Twilio WhatsApp API

    The concept of recognizing images might seem like a challenge, but with the help of Clarifai's image recognition API, the code can predict the contents of a given image and figure out the concepts to describe the picture, as well as the prediction value of how accurately the image is classified.

    In this article, we’ll walk you through how you can develop a functional Python program to identify media content using Twilio WhatsApp API, Clarifai API, and Flask.

    gif demonstration for How to Use Image Recognition on Twilio WhatsApp API

    Tutorial Requirements

    In order to build this project, you will need to have the following items ready:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • ngrok is a handy utility to connect the development version of our Python application running on your system to a public URL that Twilio can connect to. …
    Read More
  • By Diane Phan
    How to Verify an Email Address Using Python, Flask, and Twilio Verify header - How to Verify an Email Address Using Python, Flask, and Twilio Verify

    Most web applications accept the user’s email address during the sign up process. To keep the creation of fake accounts under control, it is always a good idea to confirm that the user can receive email on the provided address.

    Twilio Verify is an easy to use service for user verification through numeric codes that can be sent via SMS, voice call or email. In this tutorial you’ll learn how to implement an email verification flow using Flask, Twilio Verify, and SendGrid.

    gif demonstration of entering an email address, verification code, and seeing a success message

    Tutorial requirements

    Read More
  • By Diane Phan
    Vérifier une adresse email avec Python, Flask et Twilio Verify Comment vérifier une adresse e-mail avec Python, Flask et Twilio Verify

    La plupart des applications Web acceptent l'adresse e-mail de l'utilisateur lors du processus d'inscription. Pour garder le contrôle sur la création de faux comptes, il est toujours judicieux de confirmer que l'utilisateur peut recevoir des e-mails à l'adresse fournie.

    Twilio Verify est un service facile à utiliser pour la vérification des utilisateurs par le biais de codes numériques qui peuvent être envoyés par SMS, appels vocaux ou e-mails. Dans ce tutoriel, vous apprendrez à mettre en œuvre un flux de vérification d'e-mails avec Flask, Twilio Verify, et SendGrid.

    gif illustrant la saisie d'une adresse e-mail, d'un code de vérification et de l'affichage d'un message de réussite

    Prérequis pour ce tutoriel

    • Python 3.6 ou version ultérieure. Si votre système d'exploitation ne fournit pas d'interpréteur Python, vous pouvez vous rendre sur python.org pour télécharger un programme d'installation.
    • Un compte Twilio. Si vous êtes nouveau sur Twilio, cliquez ici pour créer un compte gratuit maintenant et recevez 10 $ de crédit lorsque vous passez à un compte payant. Vous pouvez consulter …
    Read More
  • By Diane Phan
    How to Send an MMS with Java header - How to Send an MMS with Java

    Twilio is all about powering communication and doing it conveniently and fast in any language.

    With the help of Twilio and Java, you can deliver a quick message to someone without having to pick up your mobile device.

    In this article, you'll be using your handy dandy command line and writing a couple of lines of Java code to send an MMS in an insanely fast manner. So why wait? Let's get started!

    Tutorial requirements

    • A free or paid Twilio account. If you are new to Twilio get your free account now! (If you sign up through this link, Twilio will give you $10 credit when you upgrade.)
    • Some prior knowledge of Java or a willingness to learn.
    • A smartphone with active service, to test the project

    Configuration

    We’ll start off by creating a directory to store the files of our project. Inside your favorite terminal, enter:

    $ …
    Read More
  • By Diane Phan
    How to Transcribe a Voice Message Using Twilio, Python, and Flask transcribe a voice message using twilio and flask

    In this tutorial you’ll leverage Twilio Programmable Voice to receive phone calls at your Twilio phone number, and transcribe any voice messages left by the caller. This guide can be used as a foundation to build your own voicemail system.

    Prerequisites

    To get started with this tutorial, you’ll need the following:

    Project setup

    In this section you are going to set up a brand new Flask project. To keep things nicely organized, open a terminal or command prompt, find a suitable place and create a new directory where the project you are about to create will live:

    mkdir python-flask-transcription 
    cd python-flask-transcription
    

    Create a virtual environment

    Following Python best practices, you are now going to create a virtual environment, where you are …

    Read More
  • By Diane Phan
    How to Receive WhatsApp Messages in Python Using Flask and Twilio header - How to Receive WhatsApp Messages in Python Using Flask and Twilio

    The WhatsApp Business API from Twilio is a powerful, yet easy to use service that allows you to communicate with your users on the popular messaging app. In this tutorial you are going to learn how to create a Python application based on the Flask web framework that can receive and handle WhatsApp messages.

    Project demo

    Prerequisites

    To follow this tutorial you need the following items:

    The Twilio WhatsApp sandbox

    Twilio provides a WhatsApp sandbox, where …

    Read More
  • By Diane Phan
    How to Send a Picture on WhatsApp Using Twilio and Python header - How to Send a Picture on WhatsApp Using Twilio and Python

    The WhatsApp Business API from Twilio is a powerful, yet easy to use service that allows you to communicate with your users on the popular messaging app.

    In this article, we’ll walk you through how you can develop a functional Python program to send an image to a user through WhatsApp.

    Twilio WhatsApp console with an image and message "check out this owl!"

    Prerequisites

    To follow this tutorial you need the following items:

    The Twilio WhatsApp sandbox

    Twilio provides a WhatsApp sandbox, where you can easily …

    Read More
  • By Diane Phan
    How to Store Multimedia Files in a SQLite3 Database with Python header - How to Store Multimedia Files in a SQLite3 Database with Python

    If you're a developer who is building out a website that allows users to upload image files for reasons such as updating a profile picture, sharing images with other users, or utilizing other multimedia files, you will find yourself wondering, "what's the safest way to save their data?".

    You could store the files directly in the server’s file system, integrate with APIs from cloud storage platforms, or you can learn how to store the information in your database!

    In this tutorial, you will learn about blob (binary large object) data and why you need to convert your multimedia files to binary objects in order to store them properly in a database. Then you will learn how to retrieve the blobs and convert them back into regular files for use by your application.

    Let's get started!

    Tutorial requirements

    • Python 3.6 or newer. If your operating system does not provide a Python …
    Read More
  • By Diane Phan
    How to Make a Phone Call Using Node.js and Twilio Programmable Voice phonecallnode

    Twilio Programmable Voice allows you to make and receive voice calls in your software application. In this tutorial, you’ll see a demonstration of how to use Programmable Voice to make a voice call directly from a Node.js app.

    Prerequisites

    • A free Twilio account (register here and receive $10 in Twilio credit!)
    • Node.js installed on your machine
    • A phone that can make phone calls, to test the project

    Set up your environment

    In this section you are going to set up a brand new Node.js project. To keep things nicely organized, open a terminal or command prompt, find a suitable place and create a new directory where the project you are about to create will live:

    mkdir nodejs-phone-call
    cd nodejs-phone-call
    

    Install the Twilio Node Helper Library from your command line with the following:

    npm install twilio 
    

    Configure Twilio credentials

    To be able to access the Twilio service, your Node.js application …

    Read More
  • By Diane Phan
    How to Receive a Phone Call in Python Using Flask and Twilio How to Receive a Phone Call in Python Using Flask and Twilio

    Twilio Voice is a highly customizable and convenient service that allows you to automate your telephone workflows. In this tutorial you are going to learn how to create a Python application based on the Flask web framework that can answer phone calls.

    Prerequisites

    To follow this tutorial you need the following items:

    Project setup

    In this section you are going to set up a brand new Flask project. To keep things nicely organized, open a …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.