The Twilio Salesforce Helper Library is no longer actively maintained. You may encounter difficulties when using it with some features of Twilio's API. Instead, see the Twilio for Salesforce package which includes an updated helper library.
Refer to the open source twilio-salesforce specific documentation for more details about the functions and classes contained in the library.
We've made it easy to get started. Just grab the code from GitHub and deploy it to your Salesforce org with the included Ant script.
If you do not have the existing Twilio-Salesforce library installed, you can use this unmanaged package to install.
If you have a previous version of Twilio-Salesforce library installed, you will need to use Ant to install/update:
- Checkout or download the twilio-salesforce library from
$ git clone firstname.lastname@example.org:twilio/twilio-salesforce.git
- Install the Force.com Migration Tool plugin for Ant, if you don't already have it.
install/build.propertiesto insert your Salesforce username and password. Since you will be using the API to access Salesforce, remember to append your Security Token to your password.
- Open your command line to the
installfolder, then deploy using Ant:
$ ant deployTwilio
Now all the library code is in your org and you're ready to start coding!
Refer to the twilio-salesforce specific documentation for details about the classes and methods contained in the library.
Still running into problems?