Book Image

Twilio Cookbook: Second Edition

By : Roger Stringer
Book Image

Twilio Cookbook: Second Edition

By: Roger Stringer

Overview of this book

Table of Contents (20 chapters)
Twilio Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Twilio recently introduced Picture Messaging using MMS as part of its suite of telephone-related tools. MMS (Multimedia Messaging Service) extends the traditional SMS (Short Messaging Service) capabilities by adding the ability to send images in addition to text messages.

This gives us a new area to play in as we can now add multimedia to our text messages. This chapter will explain how to use Twilio's new Picture Messaging and then help you build a collaborative picture message gallery, where anyone who has the gallery's phone number can send their photos for viewing.

The picture message gallery will let us display photos and messages from events and allow the gallery's visitors to forward a photo to their and their friends' phones, as a way of sharing. As part of the tutorial, we'll refresh this gallery every 10 seconds and display the latest photos.

We'll also add filtering to eliminate messages with profanity and images that may be considered inappropriate.

Finally, we'll set...