Handling Incoming Phone Calls with Server Side Swift, Vapor and Twilio

Screen Shot 2018-06-01 at 11.37.46 AM

You’re building a Vapor app and want to be able to handle phone calls? Let’s walk through how to add Twilio Programmable Voice to the barebones Vapor “Hello World” app. Swift Package Manager For this project we’re going to use Swift Package Manager to set everything up and install dependencies. Make sure you have Swift 4.0 or greater installed before moving on. You can check your Swift version by running… Read More

Migrating Swift iOS Apps from MVC to MVVM

w0ApU8yEXOQiOaKjv-wYaUGfcWOCtUzTWv8_EmGR5LX5wptM0eQ6DEBeQr0kEgX4cQHaGvxnQV3sHDC_sbvXSNUIl-WByh80uAx_srp92AX2XMSWwRAPAhCVN9nFvi2PN5jJ3rEr

Design patterns are reusable solutions to common problems in code. MVVM (Model-View-Viewmodel) and MVC (Model-View-Controller) are both design patterns. While MVC is a very common and easy-to-implement design pattern, it has been faulted as very inefficient while working with large code bases. If you’ve built a product, you’ve probably built using MVC. Other common design patterns include MVP (Model-view-presenter) and VIPER (here is a little write up that describes… Read More

Adding Automated Speech Recognition for Phone Calls to Ruby on Rails Applications

Rails and Twilio logos.

With the advent of personal digital assistants and in-home, voice-controlled gadgets, voice technologies are on the rise. Working with voice and speech recognition technologies is a crucial skill to have, not just in emergent technologies, but also in robust, existing applications. In this tutorial, we will build an implementation of Twilio’s Automated Speech Recognition (ASR) service in a simple Ruby on Rails Application, in hopes of… Read More

How to receive/download picture messages in Node.js with Twilio MMS

Screen Shot 2018-05-30 at 2.57.40 PM

Have you ever needed to programmatically download an image from an MMS message sent to your Twilio number? Well here’s all the code you need to do this using Node.js and Express:

To run the above code, you’ll need to have the Twilio Node helper library installed, as well as the Express framework. Can you walk me through this step by step? Absolutely! When someone texts your… Read More

Receiving and Responding to Text Messages with Server Side Swift, Vapor and Twilio

Screen Shot 2018-05-29 at 7.05.00 PM

You’re building a Vapor app and want to be able to respond to SMS messages? Let’s walk through how to add Twilio SMS to the barebones Vapor “Hello World” app. Swift Package Manager For this project we’re going to use Swift Package Manager to set everything up and install dependencies. Make sure you have Swift 4.0 or greater installed before moving on. You can check your Swift version by running… Read More

Personally Identifiable Information Field Descriptions in Twilio Docs for GDPR Compliance

PII on your servers

Twilio’s API documentation recently received a new feature: text and symbols to the field descriptions that clarify what is and is not personally identifiable information (PII). We know developers don’t always read privacy policies, but they do read API documentation. Ensuring appropriate data protection for personal information processed through the Twilio platform is necessarily a shared responsibility between you, our customer, using Twilio’s Platform and Twilio, as… Read More

What if you’re not GDPR ready?

twilio-chat-gdpr

As your inbox can attest, the May 25 deadline for GDPR is upon us. We recently hosted a #TwilioChat with Sheila Jambekar, Associate General Counsel at Twilio, to answer questions from our community about GDPR. Here’s a quick recap:  What happens if a company not GDPR ready by the May 25 deadline? No one can say for sure. The regulators will likely give you credit for working on… Read More

Build a Cellular Connected Raspberry Pi Fax Machine with Node.js

Twilio Cellular 4G Raspberry Pi Fax Machine

Here at Twilio, one of our core objectives is to inspire and equip you to you build new things – even just for fun. Our latest experiment along those lines? A cellular connected portable fax machine. You heard that right: a fax machine! While a fax machine probably won’t be the next hit holiday gift, we think it’s great inspiration for  your next IoT project. What you’ll need… Read More