售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Twilio Cookbook Second Edition
Table of Contents
Twilio Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Into the Frying Pan
Introduction
Adding two-factor voice authentication to verify users
Getting ready
How to do it...
How it works...
Using Twilio SMS to set up two-factor authentication for secure websites
Getting ready
How to do it...
How it works...
Adding order verification
Getting ready
How to do it...
How it works...
Adding the Click-to-Call functionality to your website
Getting ready
How to do it...
How it works...
Recording a phone call
Getting ready
How to do it...
How it works...
Setting up a company directory
Getting ready
How to do it...
How it works...
Setting up Text-to-Speech
Getting ready
How to do it...
How it works...
2. Now We're Cooking
Introduction
Tracking account usage
Getting ready
How to do it...
How it works...
Screening calls
Getting ready
How to do it...
How it works...
Buying a phone number
Getting ready
How to do it...
How it works…
Setting up a voicemail system
Getting ready
How to do it...
How it works...
Building an emergency calling system
Getting ready
How to do it...
How it works...
3. Conducting Surveys via SMS
Introduction
Why use PDO instead of the standard MySQL functions?
Letting users subscribe to receive surveys
Getting ready
How to do it...
How it works...
Building a survey tree
Getting ready
How to do it...
How it works...
Sending a survey to your users
Getting ready
How to do it...
How it works...
Adding tracking for each user
Getting ready
How to do it...
How it works...
Listening to user responses and commands
Getting ready
How to do it...
How it works...
Building a chart of responses
Getting ready
How to do it...
How it works...
4. Building a Conference Calling System
Introduction
Scheduling a conference call
Getting ready
How to do it...
How it works...
Sending an SMS to all participants at the time of the call
Getting ready
How to do it...
How it works...
Starting and recording a conference
Getting ready
How to do it...
How it works...
Joining a conference call from the web browser
Getting ready
How to do it...
How it works...
Monitoring the conference call
Getting ready
How to do it...
How it works...
Muting a participant
Getting ready
How to do it...
How it works...
5. Combining Twilio with Other APIs
Introduction
Searching for local businesses via text
Getting ready
How to do it...
How it works...
Getting the local weather forecast
Getting ready
How to do it...
How it works...
Searching for local movie listings
Getting ready
How to do it...
How it works...
Searching for classifieds
Getting ready...
How to do it...
How it works...
Getting local TV listings
Getting ready
How to do it...
How it works...
Searching Google using SMS
Getting ready
How to do it...
How it works
Searching the stock market
Getting ready
How to do it...
How it works...
Getting the latest headlines
Getting ready
How to do it...
How it works...
6. Sending and Receiving SMS Messages
Introduction
Sending a message from a website
Getting ready
How to do it...
How it works...
Replying to a message from the phone
Getting ready
How to do it...
How it works...
Forwarding SMS messages to another phone number
Getting ready
How to do it...
How it works...
Sending bulk SMS to a list of contacts
Getting ready
How to do it...
How it works...
Tracking orders with SMS
Getting Ready
How to do it...
How it works...
Sending and receiving group chats
Getting ready
How to do it...
How it works...
Sending SMS messages in a phone call
Getting ready
How to do it...
How it works...
Monitoring a website
Getting ready
How to do it...
How it works...
7. Building a Reminder System
Introduction
Scheduling reminders via text
Getting ready
How to do it…
How it works…
Getting notified when the time comes
Getting ready
How to do it…
How it works…
Retrieving a list of upcoming reminders
Getting ready
How to do it…
How it works…
Canceling an upcoming reminder
Getting ready
How to do it…
How it works…
Adding another person to a reminder
Getting ready
How to do it…
How it works…
8. Building an IVR System
Introduction
Setting up IVRs
Getting ready
How to do it…
How it works…
Screening and recording calls
Getting ready
How to do it…
How it works…
Logging and reporting calls
Getting ready
How to do it…
How it works…
Looking up HighriseHQ contacts on incoming calls
Getting ready
How to do it…
How it works…
Getting directions
Getting Ready
How to do it...
How it works…
Leaving a message
Getting Ready
How to do it...
How it works…
Sending an SMS to your Salesforce.com contacts
Getting Ready
How to do it...
How it works...
9. Building Your Own PBX
Introduction
Getting started with PBX
Getting ready
How to do it...
How it works...
Setting up a subaccount for each user
Getting ready
How to do it...
How it works...
Letting a user purchase a custom phone number
Getting ready
How to do it...
How it works...
Allowing users to make calls from their call logs
Getting ready
How to do it...
How it works...
Allowing incoming phone calls
Getting ready
How to do it...
How it works...
Allowing outgoing phone calls
Getting ready
How to do it...
How it works...
Deleting a subaccount
Getting ready
How to do it...
How it works...
10. Digging into OpenVBX
Introduction
Building a call log plugin
Getting ready
How to do it…
How it works…
Building a searchable company directory
Getting ready
How to do it…
How it works…
Collecting Stripe payments
Getting ready
How to do it…
How it works…
Tracking orders
Getting ready
How to do it…
How it works…
Building a caller ID routing plugin
Getting ready
How to do it…
How it works…
Testing call flows
Getting ready
How to do it…
How it works…
11. Sending and Receiving Picture Messages
Introduction
Receiving MMS messages
Getting ready
How to do it…
Sending picture messages from a website
Getting ready
How to do it…
How it works…
Making the picture message gallery
Getting ready
How to do it…
How it works…
Filtering picture messages
Getting ready
How to do it…
How it works…
Blacklisting and whitelisting the submissions
Getting ready
How to do it…
How it works…
12. Call Queuing
Introduction
Adding incoming callers to a call queue
Getting started
How to do it…
How it works…
Obtaining the average wait time for call queues
Getting started
How to do it…
How it works…
Setting a maximum queue size
Getting started
How to do it…
How it works…
Connecting the first caller in the queue
Getting started
How to do it…
How it works…
13. Working with Twilio Client
Introduction
Setting up the client
How to do it…
How it works…
Receiving incoming calls in the browser
Getting Started
How to do it…
How it works…
Making outgoing calls from the browser
Getting Started
How to do it…
How it works…
Making browser-to-browser calls
Getting Started
How to do it…
How it works…
Displaying availability
Getting Started
How to do it…
How it works…
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜