How to Receive an SMS in Node.js with Twilio and HyperDev

receive-sms-featured-image

When someone texts your Twilio phone number, Twilio makes an HTTP request to your app. Details about the inbound message, such as what it said and the number it was sent from, are passed in the parameters of that request. In this post we’ll look at how to receive and parse that request in JavaScript using Node.js and Express. Then we’ll look at how to reply to the inbound SMS with… Read More

Get started with writing TypeScript today!

oKrss4qnyzBil_Oesq4XIZRdc1Xe6A4CoK0e67LJwmfNXp-XCjrSyiqCpXsz78vwrwkEGpwcIg51PzqUORlEmK_AoJEXp6qTdCC0a0QTFjAoh8nX3iLU8bR5php4HJATP9vQIngZ-5

Tabs vs. spaces isn’t the only big discussion point in the world of programming. Another point of contention lies in statically-typed vs. dynamically-typed languages. TypeScript is Microsoft’s attempt to add a stronger type system to JavaScript while making both camps happy. Instead of wading into the debate, let’s look at three aspects of TypeScript: How to add TypeScript to an existing JavaScript project Improving your development experience and… Read More

Introducing Sync – Real-time State Synchronization API

Synchronize web and mobile apps with a single source of state in the cloud.

Today we’re excited to introduce Sync, a purpose-built API for easily synchronizing state across devices and between users. State synchronization is a critical part of every application, but it’s a complex problem to solve in real-time, at scale. With Twilio Sync, developers can now spend their time building features for customers instead of building state synchronization infrastructure or customizing general purpose backend products. Sync is designed to… Read More

How to Validate Phone numbers in Node/JavaScript with the Twilio Lookup API

Screen Shot 2016-06-30 at 1.02.13 PM

Twilio Lookup is a phonebook REST API that you can use to check whether a number exists, determine whether a phone can receive text messages, and retrieve carrier data associated with a number. Let’s write some code to validates phone numbers using the Twilio Node module. Getting started Before we dive into the code you’ll need to make sure you have: Node.js and npm installed A Twilio Account –… Read More

Getting started with Web Components building a Video Chat widget

Component based UI libraries are a popular way of building modern applications. Angular and React are the heavyweights at the moment, but the humble browser and its native APIs are never far behind. Web Components were first introduced in 2011 and are the browsers’ attempt to bring componentisation to the web platform. There are a few libraries available for writing Web Components, most notably Google’s Polymer, but also X-Tag and Bosonic. To… Read More

Introducing End-to-end Encryption for Twilio IP Messaging with Virgil Security℠

image01

Software developers have a love-hate relationship with security, especially when shipping their product is concerned. All too often security is bolted on at the last minute or not at all. End-to-end encryption is particularly difficult to properly build and integrate into an application. Twilio is partnering with Virgil Security to make building end-to-end encrypted applications a breeze with Twilio IP Messaging and Virgil Crypto SDK and… Read More

Getting started with Twilio and Segment Sources: Using JavaScript and PostgreSQL to track conversion events

5Hi8Jee5P7kWA5KluywmbfMfVUjIj4XFazti91atZ-1vJ6OjqSbsfm5NNQjY4ETAc6duyiXJyIwbOJvjLCXjcjHrD3ZC1Z8hBHzrE_0EeL7635fP7EGuetgZ4J2Qh41ev619Oxq-1

With Segment Sources and Twilio, you can get a holistic view into your customers’ journey through your Twilio voice or SMS app. In just a few clicks you can sync your Twilio logs to a data warehouse for advanced analysis. Combine these logs with data generated by other customer touch points like CRM, helpdesk, payments, email and in-app data to give you a complete view of your customer experience…. Read More

How to use a WebRTC PeerConnection in a Twilio Video Conversation

Screen Shot 2016-04-20 at 1.38.44 PM

Twilio Video simplifies building multi-person video chat applications and minimizes complicated WebRTC boilerplate. However having access to the underlying WebRTC objects can be advantageous and is sometimes necessary. The RTCPeerConnection is the main object behind a Twilio Video conversation, which you can access and use in just a couple of lines of code. Setting up a Twilio Video application If you already have a Twilio Video application built,… Read More