Your SlideShare is downloading. ×
Twilio Messaging: Overview and New Feature Deep Dive
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Twilio Messaging: Overview and New Feature Deep Dive

1,608
views

Published on

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: …

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

Published in: Technology, Business

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,608
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. #TWILIOCON Twilio Messaging - Overviewand New Feature Deep Dive PATRICK MALATACK, DIRECTOR OF PRODUCT MANAGEMENT @ TWILIO GOWRI RAO, PRODUCT MANAGER, MESSAGING @ TWILIO
  • 2. #TWILIOCON Hi. I’m Gowri. I’m a Product Manager at Twilio. gowri@twilio.com
  • 3. #TWILIOCON Hi. I’m Patrick. I’m a Product Manager at Twilio. patrick@twilio.com
  • 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
  • 9. #TWILIOCON Current SMS offerings. The State of the Union. How can I use the existing Twilio services to send SMS updates?
  • 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
  • 12. #TWILIOCON Where can I send to? EVERYWHERE! 1300+ CARRIERS 200+ COUNTRIES
  • 13. #TWILIOCON How Stuff Works: Incoming Messages ! GSM/CDMA HTTP Request
  • 14. #TWILIOCON ! GSM/CDMA HTTP Request How Stuff Works: Outgoing Messages
  • 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.
  • 19. #TWILIOCON #1 #2 #3 #4 #3 #2 #4 #1 Message Concatenation: How does it work? We use the new NumSegments property to keep track of the number of SMS messages used to deliver your content.
  • 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.
  • 25. Copyright © twilio Inc. 2013PRIVATE & CONFIDENTIAL POST to /Messages List Resource • From • To • Body - can now be up to 1600 characters long • MediaURL - The URL(s) of the image(s) you want to send with your message. If you wish to send more than one image in your message, simply provide multiple MediaURLs
  • 26. #TWILIOCON Sending a Photo MessageExample: POST  https://api.twilio.com/2010-­‐04-­‐01/ Accounts/AC123/SMS/Messages.json    From='894546'    To='16505766372'    Body='New  Dress  in  Stock'    MediaUrl='http://images.com/dress.png'
  • 27. Copyright © twilio Inc. 2013PRIVATE & CONFIDENTIAL /Messages/{Sid} Resource • From • To • Body - can now be up to 1600 characters long • NumSegments • NumMedia - The number of media associated with the message. For instance, if you sent a message with two images, this would be 2. If your message contained only text and no media this is 0 • /Media - Represents the set of media elements included with a given 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.
  • 29. Copyright © twilio Inc. 2013PRIVATE & CONFIDENTIAL /Messages Webhook Backwards Compatible • From • To • Body - can now be up to 1600 characters long • NumSegments • NumMedia • MediaURL {N} - URLs • MediaContentType{N}
  • 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. #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.
  • 33. #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>
  • 34. #TWILIOCON Example #4: RESTfully Fetching Media Let’s use the Twilio REST API to fetch the Media attachments for a message.
  • 35. #TWILIOCON GET  https://api.twilio.com/2010-­‐04-­‐01/Accounts/AC123/Messages/MM1234/Media.json Example #4: RESTfully Fetching Media We can issue a GET request to the Media sub-resource to get any Media objects.
  • 36. QUESTIONS?