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 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
  • By Diane Phan
    How to Send an SMS with Twilio CLI in Less Than a Minute header - How to Send an SMS with Twilio CLI in Less Than a Minute

    The Twilio CLI is a nifty and convenient tool to have under your belt especially if you're a developer who loves using the command line. For those who are fans of Twilio, it's also a great way to build fast and test out the power of Twilio.

    Did you know that with the help of Twilio and your command line, you can deliver a quick message without having to pick up your mobile device?

    In this article, you'll be using TwiML and the Twilio CLI to call a phone number and deliver a poem.

    Tutorial requirements

    Set up the Twilio CLI environment …

    Read More
  • By Diane Phan
    How to Send an SMS with Java header - How to Send an SMS 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 SMS 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 Build a Basic Custom Button Component in React TypeScript header - How to Build a Custom Button Component in React TypeScript

    Learning how to code, especially with React, a JavaScript UI library, can be unnecessarily difficult. However, if you enjoy interactive web pages, then you might be able to view learning React as a fun way to design your own interactive site.

    With React, you can create elements quickly by writing the guidelines for one customizable component and reusing it throughout the project, only altering some of its details. This is also a great exercise for understanding why you should follow best programming practices to write code in an organized and efficient way.

    In this article, you'll be exploring how to write a custom button component for a basic TypeScript React project. You will be able to reuse the button throughout the site and practice reusing components efficiently.

    Tutorial Requirements

    • Node version 14.16.0 or above at the time that this article is written.
    • npm, yarn, or another package …
    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.