How to Build Simple Chat Apps with JavaScript, Node.js and Twilio

nodejs logo

Twilio Chat makes it easy to add chat capability to your application by handling the worst devilish details that come up when building real-time chat. In this post we’ll walk you through how to add Twilio Chat to your own web application using JavaScript. The requirement to follow along are: An understanding of HTML, JavaScript and CSS. Some familiarity with Node.JS and Express or a similar framework… Read More

Chaos Engineering at Twilio with Ratequeue HA

Chaos engineering sign

Twilio engineers are constantly working on improving our core services to meet or exceed 5 nines of availability. A system’s capacity for self-healing when a fault occurs is a key measure of achieving high availability. Recently, Twilio used Chaos Engineering to close the gap and eliminate the need for human intervention for common faults involving our core queueing-and-rate-limiting system, Ratequeue. Background Twilio empowers customers to make… Read More

How to Verify Phone Numbers with PHP, Symfony and Twilio

In this post we’ll learn how to verify phone numbers with Twilio in a Symfony project. We will discover how to model and validate a user’s phone number, and then use Twilio’s PHP SDK to create a call flow where the user has to enter a 6 digit code to verify themselves. The frontend view will provide a form to capture their number, displaying further instructions or… Read More

Autopilot Lets You Control SMS Conversation Flows with No Code

You don’t have to take a coding class to build that new feature. Autopilot just launched a drag and drop feature that allows you to control SMS with a visual editor. When a user sends a text to your Twilio powered number, that’s logged in Autopilot. Using a drag and drop interface, you can set up a logic for Twilio, and other third party services, to… Read More

Design Thinking & GDPR

Security & GDPR

The General Data Protection Regulation (GDPR) makes the law (at least, in relation to EU personal data) what privacy professionals have been saying for years—think about privacy concerns (like collecting as little personal data as necessary and safely getting rid of personal data when it is no longer needed) when designing products and services that involve the handling of personal data. GDPR calls this “Data Protection… Read More

SOLID Principles in Action: From Slack to Twilio

Magic the Gathering SOLID principles in action

It seems like there’s a RESTful API for everything these days. From payments to booking tables, from notifications to spinning up virtual machines, you can do almost anything with a simple HTTP interaction. If you’re building a service of your own, you’ll often want to be able to use it on multiple platforms at once. Following time-tested OOD (object oriented design) principles makes your code more… Read More

Building TwilioQuest with Twilio Sync, Django, and Vue.js

TwilioQuest is our developer training curriculum disguised as a retro-style video game. While you learn valuable skills for your day job, you get to earn XP and wacky loot to equip on your 8-bit avatar. Today we’ll pull back the curtain and show the code that the Developer Education team wrote to create TwilioQuest. Meet Wagtail, a Python & Django Based CMS TwilioQuest is full of content…. Read More

Elastic SIP Trunking now supports Caller ID Name (CNAM) Lookup

Elastic SIP Trunking now supports Caller ID Name Lookup

Make informed decisions on which calls to answer by surfacing Caller ID data with CNAM Lookup. Caller ID Data added to Twilio Lookup to allow you query the CNAM database on demand via REST API. Retrieve CNAM data on an in-progress call and use it to query your system of record to surface relevant caller information. Missing calls costs businesses money. Answering unwanted calls from telemarketers,… Read More

Implementing Chat in JavaScript, Node.js and React Apps

Chat user interface

If you’re building a chat user interface using JavaScript React, how do you integrate the rest of the backend functionality into your application? In this article, we’ll start by cloning a Git repository with the completed chat interface, then implement Programmable Chat and test sending and receiving messages between multiple users. Getting Started We’re going to start with a simple React application that has just a few… Read More