A Simple Way to Receive an SMS with Ruby, Sinatra, and Twilio

receive-sms-ruby

Here’s all the code you need to receive an SMS message and to send a reply using Ruby, Sinatra, and Twilio:

If you’d like some explanation on how that code works, watch this short video, or just keep reading. When someone texts your Twilio number, Twilio makes an HTTP request to your app with details about the SMS passed in the request parameters. In this post, we’ll… Read More

It’s getting easier to get sentimental about SMS with Twilio Add-ons

Twilio Add-ons is a marketplace for 3rd party services that you can use to add superpowers to your Twilio applications. I’m a huge fan of Add-ons because they handle tasks we would otherwise need custom code for in our applications. We can also streamline existing applications by replacing our code with an Add-on. Last year I wrote about sentiment analysis of SMS messages using Twilio, Bluemix and… Read More

Real Time Rails 4: Using Server-Sent Events with Authy OneTouch

Server-Sent Events (SSE) are real-time events sent from a server and received by a browser, perfect for updating the front end when a server receives a webhook. We’re going to look at how to use SSE to implement Authy OneTouch using Rails 4. Our end result should look a bit like this: Authy OneTouch Two factor authentication usually means copying a bunch of numbers from your phone to… Read More

Video Tutorial: How to Build SMS ETA Notifications with Twilio and Ruby on Rails

eta-notifications

  Follow along with the tutorial here: ETA Notifications in Rails Hi Jarod from Twilio here. Today we’re going to walk through one of the sample apps available within Twilio Tutorials. Production-Ready Sample Apps When we started building these tutorials, we heard from developers that technical documentation focused too much on isolated “code snippets” and not enough on end-to-end solutions suitable for production environments. This feedback was eye-opening… Read More

Tutorials from Twilio: Live Coding on Twitch This Week

Tutorials from Twilio live streamed on Twitch

The launch celebration of Tutorials from Twilio continues as the Twilio developer evangelists take you through building their favorites live on Twitch. Join us all week long as we use these amazing new tutorials to equip you with the knowledge you need to add chat to an existing iOS mobile app, implement two-factor authentication in a Rails application, make phone calls from a browser using Python and… Read More

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