万本电子书0元读

万本电子书0元读

顶部广告

Twilio Best Practices电子书

售       价:¥

0人正在读 | 0人评论 9.8

作       者:Tim Rogers

出  版  社:Packt Publishing

出版时间:2014-12-23

字       数:194.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you have experience with at least one programming language and are looking to integrate Twilio into your applications, then this book is for you.
目录展开

Twilio Best Practices

Table of Contents

Twilio Best Practices

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. Working with TwiML

Where in my application will I be using TwiML?

Getting started with TwiML

Digging deeper – Twilio's requests

The world of TwiML verbs

<Say>

<Play>

<Pause>

<Gather>

<Record>

<Message>

<Enqueue>

<Leave>

<Dial>

<Number>

<Sip>

SIP authentication

Username and password protection

Working with IP whitelisting

<Client>

<Conference>

<Queue>

<Hangup>

<Redirect>

<Reject>

Best practices for working with TwiML

Test locally using ngrok

Windows

Mac OS X and Linux (and others!)

Make your application resilient with a fallback URL

Use Twilio's applications to manage your TwiML URLs

Summary

2. Exploring the REST API

What is the Twilio REST API?

Interacting with the API

Authentication

Fetching existing data

Listing records

Pagination

Fetching an individual record

Creating new records

Modifying existing records

Deleting an existing record

Handling errors

Getting started with the Twilio PHP library

Downloading the PHP library

Downloading the code manually

Using a package manager

Getting started

Getting started with Postman

Making your first request with Postman

Getting the most out of Postman

Sending parameters

Using History and Collections

Mastering call-related APIs

Making a call

Working with an existing call

Listing previous calls

Mastering messaging APIs

Sending your first SMS

Sending images using MMS

Fetching an existing message

Listing previous messages

Working with phone numbers, accounts, and usage

Phone numbers

Outgoing caller IDs

Short codes

Accounts

Creating a subaccount

Managing an account's resources

Suspending or closing a subaccount

Suspending an account

Closing an account

Usage

Summary

3. Calling in the Browser with Twilio Client

What is Twilio Client?

Where can I use Twilio Client?

How does Twilio Client work?

Setting up the client

Placing outgoing calls

Receiving inbound calls

Interacting with calls in progress

Adding Twilio Client to your web applications

Setting up a TwiML application

Building the frontend

Generating a client token

Powering our interactions with JavaScript

Adding the TwiML

Our very first Twilio Client call

Receiving incoming calls in the browser

Getting started with Twilio Client on iOS and Android

Summary

4. Twilio in the Real World

The callback request tool

Preparing the project

Installing the Twilio API library

Preparing the MySQL database

Creating a configuration file

Creating the request form

Responding to a callback request from an e-mail

Writing the TwiML

Listening for a call's status

Wrapping up

The conference calling tool

Preparing the project

Setting up your environment

Setting up Laravel

Setting up our database

Building the CRUD interface

Handling inbound calls

Archiving conferences and storing recordings

And you're done!

Summary

5. Twilio in your language

PHP – a recap

Ruby

Python

C#

Java

Node.js

Apex for Salesforce.com

Summary

6. Securing your Twilio App

Enabling two-factor authentication

Verifying that requests are from Twilio

HTTP Basic Authentication

Verifying the signature

Building a circuit breaker

Summary

7. Testing, Debugging, and Deploying Twilio Apps

The power of flowcharts

A word on automated testing

Using the App Monitor

Using Triggers in the App Monitor

Using the Request Inspector

Fixing common errors

112** – HTTP errors

11750 – TwiML response body too large

12100 – document parse failure

13227 – no international authorization

13223-6 – phone number errors

Summary

8. Online Resources

Hosting providers

Web frameworks

Automated testing

Using flowcharts

What next?

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部