Get Started With Twilio SMS in Ruby With This Five Minute Video

how to send sms using ruby

Sending and receiving text messages in Ruby is delightfully easy. Whether you are sending appointment reminders or working building a marketing notification system you’ll be up and running in no time after watching this five minute video: Here’s the code from the video for your reference:

What’s Next Now that you have the power of SMS in your toolbelt you can build all sorts of things. Try… Read More

Introducing Twilio’s Next Generation Helper Libraries

twilio-helper-libraries

At Twilio, 77% of all requests to our REST API are made by a helper library user-agent. It’s the most common touch point between Twilio and you, the developer. That’s why we’re so excited to announce early access to the next generation of our Python and Ruby helper libraries. These next-gen libraries are built on a new API auto-generation tool, homegrown within Twilio, designed to make… Read More

Two Factor Authentication in Rails 4 with Devise, Authy and Puppies

Passwords aren’t enough any more. Keeping user data safe is hard enough without users themselves choosing the worst passwords in the world. Yes, “123456” has topped the list of most commonly used password of the year again. Two factor authentication keeps your users’ accounts secure by requiring a second factor of authentication, something a user has (their phone) as well as something they know (their password)…. Read More

Get Sentimental About SMS with Twilio, Bluemix and AlchemyAPI

IBM’s Bluemix platform is home to an ever growing number of cognitive computing services that, as developers, we can use in our applications to learn more about our data. Earlier this year Ricky showed us how combining Watson’s question and answer API, Twilio and Node.js could get us answers to health questions. Also living under the Watson banner, AlchemyAPI is a set of services for understanding content… Read More

4 Ways to Parse a JSON API with Ruby

httparty

The Ruby Toolbox lists no less than 25 HTTP clients. Let’s look at how to retrieve and parse JSON results from a RESTful API using the four most popular Ruby HTTP libraries. The four code snippets below will: Define a URL to be parsed. We’ll use the Spotfiy API because it allows requests without authentication. Make an HTTP GET request to that URL. Parse the JSON result.  Each snippet is… Read More

Delay API calls to Twilio with Rails, Active Job and Sidekiq

Performance is key in web applications. Snappy websites make for better user experiences, higher conversion rates and better user retention. A swift application response causes less stress on servers trying to respond to many users too. There are many ways to improve the performance of a web application in Rails and I want to look at one of those today. Performing long running, blocking tasks during… Read More

Send Branded SMS Messages Using Twilio Alphanumeric Sender ID

phone

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

phoe-recorder

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