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 Integrate Ngrok in a Twilio Java Application header - How to Integrate Ngrok in a Twilio Java Application

    When you are developing an application that uses Twilio services you need to expose your webhooks on public URLs that can be reached by Twilio. If you have followed some of the tutorials that we published on this blog you know that we recommend using the excellent ngrok tool to generate temporary public URLs for your development web server. Ngrok is an incredibly useful tool that creates a tunnel from a URL on the ngrok.io domain to your application running on your computer. You can then configure your webhook using the ngrok URL and when Twilio sends a request to it, ngrok redirects it to your application.

    If you use ngrok frequently enough, it pays off to become a paid customer, which allows you to secure a permanent URL.

    In this article I’m going to show you how to fully automate ngrok by incorporating it into your Java application. …

    Read More
  • By Diane Phan
    How to Set Up Environment Variables in IntelliJ IDEA header - How to Set Up Environment Variables in IntelliJ IDEA

    In this article, you will learn how to navigate the Java IntelliJ IDEA to configure environment variables necessary for your project.

    Tutorial Requirements

    Start a new Java project in IntelliJ IDEA

    Open IntelliJ IDEA and click on Create New Project.

    Choose Gradle on the left hand side, check Java in the box on the right hand side, and click Next.

    choose gradle option for new java project

    Give your project a name such as "sms_variables" and click the Finish button.

    After the project setup is complete and the build has succeeded, your project …

    Read More
  • By Diane Phan
    Start a Ghost Writing Career for Halloween with OpenAI's GPT-3 Engine and Java header - Start a Ghost Writing Career for Halloween with OpenAI's GPT-3 Engine and Java

    Illustration by Caroline.

    It can be tempting to stay inside with a cup of hot cocoa to read as the days get chillier. Why not challenge yourself by writing some code along with a new story this fall season?

    In this article, you will learn how to navigate a Java IDE to build a ghost writing application in Java with the OpenAI GPT-3 engine.

    Tutorial Requirements

    Start a new Java project in IntelliJ IDEA

    Open IntelliJ IDEA and click on Create New Project.

    Choose Gradle on the left hand side, check Java in the box on the right hand side, and click Next.

    choose gradle option for new java project

    Give your project a name such as "GhostWriter" …

    Read More
  • By Diane Phan
    How to Send an SMS With Spark and Java How to Send an SMS With Spark and Java

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

    With the help of the Twilio SMS API, Java, and the Spark framework, you can respond to all incoming SMS with a text message. This article will help you set up a Spark application with a lightweight framework allowing you to be more productive in expanding and developing the project further.

    In this article, you will learn how to navigate a Java IDE to set up and build a Java Spark application and send an SMS to your mobile device.

    Tutorial requirements

    Read More
  • By Diane Phan
    How to Run Ngrok Using Java header - How to Use Java Servlets with Ngrok

    Java programmers can benefit from using servlets because they provide an opportunity to understand low-level concepts in Java. Servlets are also great for building interactive web applications and dynamic web pages because they extend apps hosted by web servers. They handle HTTP requests between a browser and any client, database, or application on the HTTP server.

    However, building a local servlet is just the first step. Taking the servlet a step further to communicate with a temporary public domain can allow developers to use webhooks, share a working demo of the project, and more.

    In this article, you will learn how to build and run a servlet to host your Java application and expose it publicly to the web.

    Prerequisites

    Install ngrok

    Ngrok is a great tool because it allows you to create a temporary public domain that redirects HTTP requests …

    Read More
  • By Diane Phan
    How to Start Your First Java Spark App header - How to Start Your First Java Spark App

    Setting up a new project to hack together an idea shouldn't be a problem, especially with the help of the Spark framework. Not only does this lightweight framework allow developers to be more productive with minimal boilerplate, but explore REST APIs at the same time.

    In this article, you will learn how to navigate a Java IDE to set up and build a Java Spark application.

    Tutorial requirements

    Start a new Java project in IntelliJ

    Open IntelliJ Idea and click on Create New Project.

    IntelliJ IDEA home screen

    Choose Gradle on the left hand side a …

    Read More
  • By Diane Phan
    Utiliser la reconnaissance d'images avec l'API Twilio WhatsApp Comment utiliser la reconnaissance d'images avec l'API Twilio WhatsApp

    Le concept de reconnaissance des images peut sembler être un défi, mais avec l'aide de API de reconnaissance d'images de Clarifai, le code peut prédire le contenu d'une image donnée et déterminer les concepts pour décrire l'image, ainsi que la valeur de prédiction de la précision de la classification de l'image.

    Dans cet article, nous allons vous expliquer comment développer un programme Python fonctionnel pour identifier le contenu multimédia à l'aide de l'API Twilio WhatsApp API, API Clarifai, et Flask.

    Configuration requise pour le tutoriel

    Pour créer ce projet, vous devez disposer des éléments suivants :

    • 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.
    • ngrok est un utilitaire pratique pour connecter la version de développement de notre application Python exécutée sur votre système à une URL publique …
    Read More
  • By Diane Phan
    How to Start an HTTP Servlet helper - How to Start an HTTP Servlet

    With so many Java technologies available, it can be difficult to figure out which one to use to power a Java-based web application.

    Beginner Java programmers can benefit from using servlets because they provide an opportunity to understand low-level concepts in Java. Servlets are also great for building interactive web applications and dynamic web pages as they are used to extend apps hosted by web servers. They handle HTTP requests between a browser and any client, database, or application on the HTTP server.

    In this article, you will learn how to build and run your first servlet to host your Java application.

    Tutorial requirements

    Start a new Java project with Gradle

    Gradle is a handy tool that will allow you to build any software on different platforms with high performance. If you use Homebrew, enter the following command to install Gradle: …

    Read More
  • By Diane Phan
    Python、Flask、Twilio Verifyを使用してメールアドレスを認証する方法 How-to-Verify-an-Email-Address-Using-Python-Flask-and-Twilio-Verify-JP

    このBlogはDeveloper Voices Teamに所属するDiane Phanこちらで執筆した記事を日本語化したものです。

    Python、Flask、Twilio Verifyを使用してメールアドレスを認証する方法

    大半のWebアプリケーションでは、サインアッププロセス中に、ユーザーのメールアドレスを受け付けます。不正アカウントの作成を防ぐには、指定されたメールアドレスでユーザーがメールを受信できることを確認するという方法が常に有効です。

    Twilio Verifyは、SMS、音声通話、メールを介して数値コードを送信する、というユーザー確認に使いやすいサービスです。このチュートリアルでは、メール認証フローをFlask、Twilio Verify、SendGridを使って実現する方法について説明します。

    Flask - Verify - SendGrid

    チュートリアルの要件

    • Python 3.6以降 - オペレーティングシステムにPythonインタープリターがない場合は、python.orgからインストーラーをダウンロードしてください
    • Twilioアカウント - 初めてTwilioを利用する場合は、こちらをクリックして無料アカウントを作成してください。このリンクを用いてアカウントを作成すると有料アカウントへのアップグレード時に使える10ドルのクレジットを進呈します。トライアルアカウントの制限についてはこちらを確認してください
    • SendGridアカウント。こちらをクリックして無料アカウントを作成してください。このアカウントでは1日最大100通のメールを送信できます

    SendGridの設定

    メ …

    Read More
  • By Diane Phan
    How to Send an SMS with a Click of a Button with Java header - How to Send an SMS with a Click of a Button 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. Using Java also gives you the fun opportunity to create Graphical User Interfaces (GUIs) to complement your user's experience in sending an SMS in a more fun and interactive way.

    In this article, you'll be implementing a small button GUI that will fire an SMS to your mobile phone device once the button is clicked.

    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 …

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