Build the future of communications.
Start Building for Free

expressjs posts

  • By Dhruv Patel
    How to Send Voice-to-SMS Transcripts Using Twilio Voice and Programmable SMS Header

    Introduction

    SMS and audio transcripts can be a great way to perpetuate communication without needing to pick up the phone unexpectedly. Twilio streamlines this process through the Voice API using Twilio’s Markup Language, TwiML, which processes incoming calls accordingly.

    TwiML offers the <Record> verb, which records the caller's voice and can automatically generate text transcriptions sent right to your phone. For those that are always on the go or can’t be bothered to check their voicemail inbox, you’ll never miss a message again. In this tutorial, you will learn how to leverage Twilio’s Voice API and Programmable SMS to transcribe voice calls into text messages.

    Prerequisites

    Project setup

    In this section, you are …

    Read More
  • By Mia Adjei
    Build a Video Application with Breakout Rooms Using Twilio Programmable Video, React, TypeScript, and Express — Part 1 Build a Video Application with Breakout Rooms Using Twilio Programmable Video, React, TypeScript, and Express — Part 1

    Have you ever attended a video meeting, conference, or class and had the opportunity to join a breakout room? Video breakout rooms are a great way to create space for smaller group discussion and collaboration alongside a larger-group video call.

    In this tutorial and the one that follows it, you'll build a video chat application that allows you to create breakout rooms alongside your main video room.

    By the end of this first tutorial you will have:

    • A server that handles your API calls to the Twilio Video APIs and communicates with your local database.
    • A database set up to store the associations between main rooms and breakout rooms.

    Let's get started!

    Prerequisites

    You will need:

    • A free Twilio account. (If you register here, you'll receive $10 in Twilio credit when you upgrade to a paid account!)
    • Node.js (version 14.16.1 or higher) and npm installed on your machine.
    • HTTPie …
    Read More
  • By Mia Adjei
    Application vidéo avec salons de groupe, Twilio Programmable Video, React, TypeScript et Express — Partie 1 Construire une application vidéo avec des salons de groupe avec Twilio Programmable Video, React, TypeScript et Express — Partie 1

    Avez-vous déjà assisté à une réunion vidéo, à une visioconférence ou à un cours en ligne ? Et avez-vous eu l'opportunité de rejoindre une salle de groupe ? Les salles de groupe vidéo sont idéales pour créer un espace de discussion et de collaboration en petits groupes, en parallèle d'un appel vidéo en grand groupe.

    Dans ce tutoriel et dans le suivant, vous allez construire une application de chat vidéo, qui vous permettra de créer des salles de groupe en plus de votre salle vidéo principale.

    À la fin de ce premier tutoriel, vous aurez les éléments suivants :

    • Un serveur qui gère vos appels d'API vers les API Twilio Video et qui communique avec votre base de données locale.
    • Une base de données configurée pour stocker les associations entre les salles principales et les salles de groupe.

    Allez, c'est parti !

    Conditions préalables

    Vous aurez besoin des éléments ci-dessous …

    Read More
  • By Rachel Black
    Secret Gifts with Twilio Verify for Gift of Code Secret Gifts with Twilio Verify for Gift of Code

    It’s December and in typical fashion I have left Christmas shopping too late. But as a developer, I can always use my coding powers to build a gift. Using Twilio Verify, I will code a small application that gifts a secret message to a holder of a specific phone number. This secret content could take the form of a message, picture etc. Watch out friends and family, I am going to be using it to gift my favourite holiday GIFs!

    Technical requirements

    • A free Twilio account. If you use this link to register, you will receive $10 credit when you upgrade to a paid account
    • Node.js and npm installed

    User flow

    Our application will be coded with a specific person in mind. This user will be identified by their telephone number. This user will be able to visit our application, start the verification process and receive a SMS code. …

    Read More
  • By Jim Hua
    Watching IoT Sensors with an ESP32 Board, JavaScript, Node.js and Twilio Sync hardware-setup

    Twilio Sync for IoT provides two sets of API to build end-to-end experiences with your embedded and wearable devices using the same Sync primitives used for mobile devices and web browsers. Sync for IoT lets you expand your real time applications to the Internet of Things.

    Let’s set up the demo system shown in the main photo, which includes a browser interface and an ESP32 board with a humidity and temperature sensor attached. We’ll use JavaScript, Node.js, the Twilio Sync Rest API and the Twilio Sync JavaScript Client Library to interact with the Sync resource on our IoT device and our web server and browser clients at the same time.

    If you just want to see the finished code, see this Github repository. It has been verified to work with Chrome, Firefox and IE and with an ESP-wrover-kit.

    Prerequisites for Our Sync for IoT Build

    To follow along …

    Read More
  • By Sam Agnew
    React Tutorial: Getting started with React, Express and Socket.io twilio_react

    I’ve been having a lot of fun messing around with React lately. For example, you might have seen a post I wrote on how to get set up with React, Webpack and Babel for ES6 code. Creating that post was a blast, but I didn’t want the fun to stop there so I kept on building. In this post, I’ll show you how to use React to build reusable, composable components for displaying and maintaining the state of your data in a real application.

    Tracking the status of a phone call is a great example to show how React deals with handling state. To do this, let’s build a dashboard that will monitor phone calls using call progress events for Twilio Voice. You can find the code for the backend portion of t …

    Read More
  • By Sam Agnew
    Getting started with Socket.io: Adding Real Time Events to your Node.js Express App Screen Shot 2015-10-12 at 5.34.37 PM

    In a previous post, I explained how to monitor phone calls sent with the Twilio API in real time using call progress events. These allow you to set up a webhook url to receive a request whenever the status of your phone calls change.

    The real time updates of call progress events provide us with a great opportunity to play around with websockets. In this post I am going to show you how to extend an already existing Express app to add real time communication between the client and server. We will be turning the Express server from my previous post into the backend of a dashboard for monitoring calls in real time using socket.io.

    Setting everything up

    You are going to need to have have Node …

    Read More
  • By Kevin Whinnery
    Build Interactive Voicemail for Sports Fans with Twilio, Browserify, Angular, and Less CSS (Part Two) browserify-angular

    With my home town still buzzing about the MLB All Star Game, it seemed high time to share part two of this series on building interactive voice mail for sports fans. In part one, we explored the high-level steps necessary to build an interactive voice mail system like the one deployed at leavejoeamessage.com. We saw how to set up a series of webhooks in our node.js backend to respond to incoming phone calls and text messages from fans, and how to store that data in a MongoDB database. If you haven’t already, you may want to check out part one of this tutorial.

    But collecting all those fun messages is only half the battle. We need a front end to display and play them back to other fans, and an administrative interface to keep the trolls at bay. In this part of the tutorial, we’ll examine the …

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