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 Make a Kid Feel Like a Hacker With the Twilio CLI header - How to Make a Kid Feel Like a Hacker With the Twilio CLI

    Summer school just ended which means - school's out, scream and shout! Kids are enjoying their remaining weeks of summer before starting back again.

    Oh how I miss being a kid with forced breaks and recess time. Recently I visited an elementary school during their summer session and felt the nostalgia of being an innocent kid. Life was so simple when the main concern was having enough time to be cool and not get caught passing notes across the classroom! Since I grew up in a low-income community, I decided to give back and show the classrooms a fun presentation on what it's like to work in the tech industry and write code!

    With the help of Twilio and the command line, I was able to show the elementary school students how to feel like a hacker by typing some lyrics on the computer, pressing a few buttons, and …

    Read More
  • By Diane Phan
    How to Store and Display Media Files Using Python and Amazon S3 Buckets header - How to Store and Display Media Files Using Python and Amazon S3 Buckets

    It can be difficult navigating external platforms and storing data to the cloud. However, this is part of the process when scaling a small application that might rely on in-house databases such as SQLite3.

    Amazon Simple Storage Service (Amazon S3) offers fast and inexpensive storage solutions for any project that needs scaling. The Python code interacts with the S3 buckets to store and retrieve objects with flexible permission changing settings.

    Follow along in this tutorial to learn more about how a Python and Flask web application can use Amazon S3's technologies to store media files and display them on a public site.

    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.
    • Create a free account or sign in …
    Read More
  • By Diane Phan
    How to Receive Images on WhatsApp Using Flask and Twilio header - How to Receive Images on WhatsApp 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 images sent by your users on WhatsApp.

    Project demo

    Prerequisites

    To follow this tutorial you need the following items:

    The Twilio WhatsApp sandbox

    Twilio provides …

    Read More
  • By Diane Phan
    AWS EC2インスタンスにFlaskアプリケーションを展開する方法 hot to deploy a flask app to AWS EC2 - jp

    この記事はTwilio Developer Voicesチームに所属するDiane Phanが執筆したこちらの記事(英語)を日本語化したものです。

    初めてTwilioアプリを作成したら成功した。素晴らしいですね。Twilioマジックを使えば驚くに値しません。しかし、Twilioは広く使われているため、ライブサイトに展開してみませんか。そうすれば、ローカルコンピューターで常時アプリを実行する必要はありません。

    このチュートリアルを実行して、機能的なFlaskアプリケーションをAmazon Web Services(AWS)に迅速に展開する方法を学びましょう。Web上に、無料で、TwilioとFlaskのライブアプリケーションを公開し、印象付けてみましょう。

    チュートリアルの要件

    • Flaskアプリケーションのファイルが含まれたGitHubレポジトリ。AWSに展開するアプリケーションに、保護された環境変数があり、展開準備が整えられていること。基本的なFlaskアプリの開始に支援が必要な場合は、Flaskアプリケーションチュートリアルを参照してください。
    • AWSコンソールの無料のアカウントを作成するか、お持ちのアカウントにサインインする
    • 無料利用枠オプションを超えた場合に備え、AWSにクレジットカードを登録する。AWSでアプリを展開する場合には、特に注意が必要です。月末に超過料金が発生しないようにするため、無料利用枠内に留まるようにします。将来の料金発生を防ぐため、EC2料金ガイドと該当するドキュメントを参照してください。
    • 端末画面でアプリケーションを実行 …
    Read More
  • By Diane Phan
    3 Tips for Installing a Python Web Application on a Cloud Server header - 3 Tips for Installing a Python Web Application on a Cloud Server

    (Image credit: Pixabay)

    Deploying your first app can be confusing and daunting. There's also the age-old question - which platform should I deploy the service on - AWS, Heroku, or serverlessly on Twilio? Even after you have decided which platform to use, maintaining a live app can cause some troubles on its own, especially when you want to revisit the project to refactor or add new features.

    Amazon's Elastic Compute Cloud (EC2) instances are a great choice because they are virtual servers that allow you to pick a default Amazon Machine Image (AMI) or select one from another location in order to tell AWS how to launch the instance to fit your criteria.

    In a previous tutorial, we walked through the steps on how to deploy a Python Flask app to EC2. In this article, we will be discussing three tips to installing a Python web app …

    Read More
  • By Diane Phan
    Senden einer SMS mit Java Senden einer SMS mit Java


    Hallo und Danke fürs Lesen! Dieser Blogpost ist eine Übersetzung von How to Send an SMS with Java. Während wir unsere Übersetzungsprozesse verbessern, würden wir uns über Dein Feedback an help@twilio.com freuen, solltest Du etwas bemerken, was falsch übersetzt wurde. Wir bedanken uns für hilfreiche Beiträge mit Twilio Swag :)

    Bei Twilio geht es darum, die Kommunikation zu unterstützen, und das praktisch und schnell in jeder Sprache.

    Mit Twilio und Java können wir schnell eine Nachricht zustellen, ohne unser Mobilgerät in die Hand nehmen zu müssen.

    In diesem Artikel nutzen wir unsere praktische Befehlszeile, um ein paar Zeilen Java-Code zu schreiben, mit dem wir unglaublich schnell eine SMS senden können. Worauf warten wir noch? Legen wir los.

    Voraussetzungen

    Read More
  • By Diane Phan
    How to Send a Message on WhatsApp With Java header - How to Send a Message on WhatsApp With Java

    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.

    With the help of Twilio and Java, you can deliver a quick message to someone over WhatsApp 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 a WhatsApp message in an insanely fast manner. So why wait? Let's get started!

    screenshot of the WhatsApp message sent with Java

    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 WhatsApp, to test the project.

    The Twilio WhatsApp sandbox

    Twilio provides a …

    Read More
  • By Diane Phan
    How to Trigger a Usage Alert Over a Phone Call With Node.js header - How to Trigger a Usage Alert Over a Phone Call With Node.js

    The Twilio API has many capabilities, including allowing you to keep track of how much money you spend on it. In addition to checking your usage amounts, you can also set up a trigger that will let you know when you’ve spent a certain amount or made a given number of API calls. To learn how to do this, follow along!

    Prerequisites

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

    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-usage-alert
    cd nodejs-usage-alert
    

    Install the Twilio …

    Read More
  • 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 in a React application.

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

    Tutorial requirements

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