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's API allows you to do some incredible things. Combine it with PHP and you have a powerful tool that you can use to enhance your business or even build entirely new businesses around it.

I've worked with Twilio on dozens of projects over the past three and a half years and have built entire startups around it such as TheInterviewr.com.

This chapter will get you started on using Twilio for two-factor authentication functionality, order verification, adding Click-to-Call to your website, recording phone calls, setting up a company directory, and using Twilio Client to add Text-to-Speech capabilities to your website.

Before we begin, you'll need a twilio.com account, so go to http://twilio.com and sign up.

To get started, you will want to have Twilio's helper library at http://www.twilio.com/docs/libraries.

You can get your Twilio ACCOUNT SID and AUTH TOKEN from your account page here:

You can also click on NUMBERS to manage your list:

Now, let's get started with some code...