This is technical overview of Twilio's messaging capabilities and a deep dive into the newly released features at Twiliocon 2013. This talk was given by:
- Patrick Malatack, Director of Product Management @ Twilio
- Gowri Rao, Product Manager, Messaging @ Twilio
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
Twilio Messaging: Overview and New Feature Deep Dive
1. #TWILIOCON
Twilio Messaging - Overviewand New
Feature Deep Dive
PATRICK MALATACK, DIRECTOR OF PRODUCT MANAGEMENT @ TWILIO
GOWRI RAO, PRODUCT MANAGER, MESSAGING @ TWILIO
4. #TWILIOCON
By the end of this talk,
1. Why is SMS so important?
you’ll be able to answer these questions.
2. How do I send an SMS using Twilio?
3. What is Concatenated Messaging and how do I use it? (new)
4. What is Twilio Picture Messaging and how do I use it? (new)
5. #TWILIOCON
What is SMS & why does it matter? A brief review.
Let’s take a quick look at the history of SMS and where we are today.
6. #TWILIOCON
What exactly is SMS?
Short Messaging Service (SMS) lets you send a message
(up to 160 characters) from a phone number you own
to any SMS enabled number in the world.
7. #TWILIOCON
Why should you care about SMS?
Twilio just lowered its
pricing to 3/4¢ per
message.
CHEAP
A lead contacted within
5 minutes is 100x more
likely to convert.
INSTANTTeenagers (18 - 24)
send 109.5 messages
per day on average.
POPULAR
Twilios APIs make it
super easy to integrate.
EASY
People send 41.5 SMS
messages per day on
average.
FAMILIAR
8. #TWILIOCON
of all humans use SMS
85%
messages to communicate.
140 Million
iOS users
480 Million
Android users
2.4 Billion
Internet Users
6 Billion
SMS Subscribers
Android Image Credit: Jan Sebastian bach, from The Noun Project
10. #TWILIOCON
Sending SMS Messages: Phone Numbers
• Person-to-Person Messaging
• Self-service
• Local Experience
• Prohibited from High Volume
• Available in US, UK, & CA
11. #TWILIOCON
Sending SMS Messages: Short Codes
• Person-to-Person Messaging
• Self-service
• Local Experience
• Prohibited from High Volume
• Available in US, UK, & CA
15. #TWILIOCON
Sending a MessageExample:
POST
https://api.twilio.com/2010-‐04-‐01/
Accounts/AC123/SMS/Messages.json
From='894546'
To='16505766372'
Body='Come
check
out
our
new
fall
fashions
http://www.twiliofashions.com/'
16. #TWILIOCON
Brevity is overrated. Introducing Concatenated Messages.
Let’s take a look at how Twilio helps you overcome the 160 character barrier.
17. #TWILIOCON
Previously: Break apart large messages
Each message was limited to 160 characters. Messages
larger than that had to be manually broken up into smaller
chunks.
18. #TWILIOCON
Today: Enter Message Concatenation
Twilio now supports messages up to 1,600 characters. No
more worrying about getting cut off mid sentence or
dealing with manual chunking.
20. #TWILIOCON
Seeing is believing. Introducing Twilio Picture Messages.
Let’s take a look at how Twilio helps you send rich media using the Universal
Messaging API.
21. #TWILIOCON
What does Twilio Picture Messaging look like?
Picture messaging (available on short codes) lets you display
media to directly to the user.
Before Now
22. #TWILIOCON
Twilio Picture Messaging: The Gritty Details
Currently available on US
Short Codes and to / from
US numbers.
USA ONLY
Pricing starts at 2¢ per
outbound message & 1¢ per
inbound message.
PRICING
You can attach a maximum
of 10 images per message.
UP TO 10 PHOTOS
23. #TWILIOCON
Twilio Picture Messaging: The Definitive Guide.
MEDIA
MESSAGES Similar to SMS, there is now a Message Resource. There
is also a corresponding <Message> TwiML verb which is
similar to <Sms>.
Messages now have a Media Sub-Resource which contains
any attached Pictures. There is also a corresponding
<Media> TwiML Noun for generating new Media Resources.
24. #TWILIOCON
Example #1: Sending a Picture
Let’s take a look at how to use the Messages endpoint to send a Twilio Picture
Message.
28. #TWILIOCON
Example #2: Receiving a Message
Let’s use the Messages webhook to receive a picture message and take a
closer look at some of the new parameters that come along with it.
30. #TWILIOCON
New Param: MediaUrl#
Ex. MediaUrl0 → MediaUrlN
“MediaUrl0”:
“https://api.twilio.com/2010-‐04-‐01/...",
“MediaUrl1”:
“https://api.twilio.com/2010-‐04-‐01/...",
Each media attachment gets its own MediaUrl# parameter pointing
to the image hosted on the Twilio CDN.
31. #TWILIOCON
New Param: MediaContentType#
Ex. MediaContentType0 → MediaContentTypeN
“MediaContentType0”:
“image/png",
“MediaContentType1”:
“image/jpeg",
Each media attachment gets its own MediaContentType# parameter telling
you what kind of media it is (using the standard HTTP content types).
32.
33. #TWILIOCON
Example #3: Replying to a message in TwiML
Let’s use TwiML to respond to the messages we receive with a Twilio Picture
Message.
34. #TWILIOCON
Example #3: Replying to a Message in TwiML
<?xml
version="1.0"
encoding="UTF-‐8"?>
<Response>
<Message>
<Body>I'm
hungry!</Body>
<Media>http://www.images.com/cheesesteak.png</Media>
</Message>
</Response>