Send Branded SMS Messages Using Twilio Alphanumeric Sender ID


It’s been a few months since we hosted Signal (if you missed it, don’t forget that videos from all the sessions are available online) and in this post I wanted to spend some time exploring one of the announcements that I found pretty exciting: alphanumeric sender ID’s. Being based in the UK and traveling often in Europe I regularly receive SMS messages with a business name as… Read More

Record Bad Customer Service Calls in 30 Lines of Ruby


tl;dr If you’d like to record a phone call, three-way call 888.909.1024 or +44 203 389 52 12 into the conversation and you’ll get a text with the recording when you hang up.  About this time last year, Ryan Block’s “Comcast Call from Hell” made the social network rounds. It was an infuriating eight minute clip of him trying to cancel his service but getting stonewalled by the customer service rep… Read More

You Too Can Tweet like Larry King

Earlier this year I wrote about sending and receiving Tweets using the Twilio and Twitter API. It turned out that I published the post on the same day as this article in the Washington Post on veteran broadcaster Larry King. Ricky, my buddy and fellow developer evangelist, sent me the link because of the following description of how Larry King sends Tweets. When Larry King wants… Read More

How to build SMS Phone Verification in Rails 4 using AJAX


You’ve undoubtedly done something like this before: That’s the SMS phone verification for AirBnB, which uses Twilio to allow hosts and guests to chat without sharing their actual phone numbers. In this tutorial, we’ll integrate SMS phone verification into a Rails 4 app using AJAX and Twilio. Warning: There are a bunch of great reasons to grab a user’s phone number, but if your end goal is two-factor authentication, you… Read More

Receive Twitter Notifications by SMS with EventMachine and the Twitter Streaming API (Send and Receive Tweets Using SMS with Twilio Part 3)

I’ve been having fun with the Twitter and Twilio APIs recently. First was the release of a tool to send and receive Tweets using SMS and Twilio. In part 2 I started to dig into how the app was built, starting with how to send a Tweet with SMS. Now it’s time to look into how the other side works: how to send SMS notifications when… Read More

Validate Phone Numbers in Ruby using the Lookup API

Twilio Lookup

How do you know if a phone number is valid? Maybe you wrote a regular expression to validate a phone number. But does that regex work for all phone numbers, or just ten digit American phone numbers? Maybe you use Google’s libphonenumber to check if a string could be a valid phone number. But libphonenumber can’t tell you if that number is actually in service. Twilio… Read More

How to Send a Tweet with SMS (Send and Receive Tweets Using SMS: Part 2)

In a moment of outrage with UK mobile networks, I recently released a small app that you could use to send and receive Tweets using SMS and Twilio. In the next couple of posts I want to dive into the code and show you how I built it in only 62 lines of Ruby. We’ll cover setting the application up, webhooks and sending Tweets in this… Read More

Send and Receive Tweets using SMS with Twilio: Part 1


You may have just read the title and thought, “What? Can’t you already send and receive tweets over SMS?” You would be right to think that, Twitter has a load of shortcodes for different countries for sending and receiving tweets. But since February 4th in the UK, O2, one of the major mobile operators, announced to their users (by SMS ironically) that they were dropping this… Read More

Craft Beer & SMS: Never Miss A Rare Brew Again


What a time to be alive! Just a couple of weeks ago was London Beer Week. My home city spent a week celebrating everybody’s favourite pint sized beverage. With the focus on great beer from breweries across the capital, the country and the world I’ve been thinking about how I can get more great beer all year round. You see, there’s this great beer shop, Clapton… Read More