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

ahoy-five-minute-projects posts

  • By Miguel Grinberg
    How To Send a WhatsApp Message in 30 Seconds with Golang How To Send a WhatsApp Message in 30 Seconds with Golang

    Twilio is all about powering communication conveniently and quickly in any programming language.

    In this tutorial you’ll learn how to deliver a message or notification via WhatsApp with a few lines of Go that can be added to any application with the new Twilio Go Helper Library. Ready? Let's get started!

    Tutorial requirements

    The Twilio WhatsApp sandbox

    Twilio provides a WhatsApp sandbox, where you can easily develop and test your application. Once your application is complete …

    Read More
  • By Miguel Grinberg
    Add Custom Effect Filters to your Twilio Programmable Video Calls Add Custom Effect Filters to your Twilio Programmable Video Calls

    The Twilio Video JavaScript SDK has been recently enhanced with support for video processors, small effects, and filters that can be applied to the video tracks in a Programmable Video application.

    In a previous article, I showed you how to use the background blurring and replacement effects released as part of the Twilio Video Processors library. In this article, I’m going to show you how to create your own custom video effects.

    Face detection demo

    Prerequisites

    At the time I’m writing this article, video processors are only available for Chrome and other chromium-based web browsers. You can check the current list of supported browsers in the documentation for updates.

    What is a video processor?

    A video processor is a small JavaScript object that performs video processing transformations or effects. The structure of a video processor is shown below:

    myVideoProcessor = {
        processFrame: (inputFrame, outputFrame) => {
            // the video processing logic goes …
    Read More
  • By Matthew Setter
    How to Send an SMS in 30 Seconds with Ruby How to Send an SMS in 30 Seconds with Ruby

    Twilio is all about powering communication, regardless of the language—or language framework—that you're using for a given project.

    In this tutorial, you'll learn how to send an SMS directly from a Ruby application. What's more, you're going to use Twilio's Ruby Helper Library to make sending an SMS even faster than it would otherwise be. Ready to go? Let's dive in!

    Tutorial requirements

    To complete the tutorial, you will need the following things:

    • A free Twilio account (sign up with this link and get $10 in free credit when you upgrade your account)
    • Ruby, version 2.7 or later. If you don't already have Ruby installed, you can install it using your operating system's package manager (if you're using Linux or macOS) or download it.
    • Bundler
    • A smartphone with active service, to test the project.
    • The Twilio CLI (optional)

    Get your Twilio phone number

    As we're sending an SMS, …

    Read More
  • By Miguel Grinberg
    How to Send an SMS in 30 Seconds with Golang How to Send an SMS in 30 Seconds with Golang

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

    In this tutorial you’ll learn how to deliver a quick message or notification via SMS directly from a Go application. You’ll use the new Twilio Go Helper Library to send an SMS in an insanely fast manner. Ready? Let's get started!

    Tutorial requirements

    Buy a Twilio phone number

    If you haven't done so already, purchase a Twilio phone number to send the SMS from.

    Log in …

    Read More
  • By Shalene Gupta
    What I Built: Arthur Tham’s uwu-laden pandemic video game What I Built: Arthur Tham's uwu-laden pandemic video game

    During a pandemic where time has passed slowly and anxieties have multiplied, Arthur Tham’s quirky video game fills a much-needed gap. HackUWU is a deceptively simple, but ridiculously addictive, game full of joy. Tham, a recent Masters' graduate of UC Irvine, describes HackUWU’s storyline as “finding love in saying uwu, owo, and ewe; while avoiding common university temptations like banh mi, boba and memes.”

    Tham’s hackathon-built video game: A frenetic blitz of owo, uwu, campus buses, boba, and cats

    Tham’s hackathon-built video game: A frenetic blitz of owo, uwu, campus buses, boba, and cats

    Players click the bubbles that say “uwu”, “owo”, or “ewe”, while pictures of boba, bahn-mi, and memes flash across the screen, while a timer counts down. You earn points by clicking more bubbles, and lose points and gain time if you click on the boba and banh-mi. The bouncy soundtrack and quirky graphics add to the up-beat feeling that despite the stress of the pandemic, you are safe in HackUWU. As …

    Read More
  • By Kelley Robinson
    Send an SMS verification code in 5 minutes Blog header: Send an SMS verification code in under 5 minutes

    One-Time Passcodes (OTPs) are a simple and effective way to verify someone's phone number at sign up for ongoing login verification, preventing bots, ensuring deliverability to the right person, and more.

    Phone number verification can decrease fraud and increase deliverability and trust. Luckily the Twilio Verify API makes it easy to send and check OTPs. Let's see how to get started with Verify in under 5 minutes.

    Prerequisites for sending One-Time Passcodes

    Before you can send an OTP you'll need:

    Copy your Service SID (starts with VA):

    Verify service in the twilio console showing service name, service SID, and code length setting

    Quick Deploy a Twilio Verify application

    Make sure you're logged in to Twilio and head over to Twilio's Code Exchange for the One-Time Passcode verification …

    Read More
  • By Kelley Robinson
    Envoyez un code de vérification OTP par SMS en 5 minutes Envoyez un code de vérification OTP par SMS en 5 minutes

    Les mots de passe à usage unique (OTP) sont un moyen simple et efficace de vérifier le numéro de téléphone d'une personne lors de l'inscription en vue d'une vérification continue des identifiants de connexion, d'éviter les bots, d'assurer la délivrabilité à la bonne personne, et bien d'autres encore.

    La vérification des numéros de téléphone permet de réduire les fraudes et d'accroître la délivrabilité et la confiance. Par chance, l'API Twilio Verify facilite justement l'envoi et la vérification des OTP. Voyons comment faire ses premiers pas avec Verify en moins de 5 minutes.

    Prérequis à l'envoi de mots de passe à usage unique

    Avant de pouvoir envoyer un OTP, vous aurez besoin des éléments suivants :

    Read More
  • By Maciej Treder
    How to Register a Twilio Phone Number and Send an SMS Using the Twilio CLI phonenumbercli.png

    There are over 4.5 billion text-enabled devices. This creates a huge opportunity to notify people about upcoming appointments, special events, breaking news, or commercial promotions via SMS. Sending SMS messages programmatically enables reaching many people almost simultaneously. With Twilio Programmable SMS, you can register your own virtual phone number and send SMS messages across the world.

    This tutorial will show you how to set up Twilio CLI, register a phone number and send an SMS using .the new number

    Important compliance note: There are rules for using SMS messaging and they vary between countries. Familiarize yourself with the countries’ rules in which you’ll be sending messages with the Twilio Regulatory Guidelines for SMS.

    Prerequisites

    To complete the project described in this tutorial you will need the following tools and resources:

    • Twilio account – Sign up for free using this link and receive an additional $10 account credit when you …
    Read More
  • By Miguel Grinberg
    How to Send an MMS with Python How to Send an MMS with Python

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

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

    In this article, you'll be writing a short Python program to send an MMS in an insanely fast manner. So why wait? Let's get started!

    Tutorial requirements

    Configuration

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

    $ mkdir python_mms
    $ cd python_mms
    

    Following Python best practices, you are now going …

    Read More
  • By Lizzie Siegle
    How to Translate English to Mandalorian with Twilio Serverless and SMS mandoheader2.png

    Celebrate Star Wars Day on May 4th by texting a sentence to +14807573107 to translate it into the Mandalorian language and read on to learn how to build the app using the Mandalorian Translator API, Twilio Functions, and the Twilio Serverless Toolkit.

    sms example

    Prerequisites

    1. A Twilio account - sign up for a free one here and receive an extra $10 if you upgrade through this link
    2. A Twilio phone number with SMS capabilities - configure one here
    3. Postman (you could alternatively make cURL requests from the command line)
    4. Node.js installed - download it here

    Make an API Request to Fun Translations

    kylo approves gif

    Fun Translations offers multiple translator APIs--in addition to the Mandalorian, there's a Yoda trans …

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