Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Twilio Best Practices
  • Toc
  • feedback
Twilio Best Practices

Twilio Best Practices

By : Rogers
4.5 (4)
close
Twilio Best Practices

Twilio Best Practices

4.5 (4)
By: Rogers

Overview of this book

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.
Table of Contents (10 chapters)
close
9
Index

Chapter 5. Twilio in your language

In this chapter, we'll get to grips with working with Twilio in languages other than PHP, looking at all six of the remaining API libraries:

  • Ruby
  • Python
  • C#
  • Java
  • Node
  • Apex (Salesforce's proprietary language)

For each library, we'll learn how to install it, how to instantiate the REST API client, and will briefly see how the syntax of its calls compare with the PHP library we've used throughout the book. We'll also have a quick recap of the PHP library for ease of comparison.

All of the code samples are named, and can be found in the code samples downloadable from Packt's website.

Note

As a general rule, it's bad practice to include your account SID and auth token in your code for security reasons. These should be set in TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables and then used in your code.

You can find helpful examples on setting environment variables in different platforms at https://github.com/twilio...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete