- Code: Select all
sudo easy_install pip
Install the Twilio library:
- Code: Select all
sudo pip install twilio
Set up a Twilio account:
- Go to https://www.twilio.com/try-twilio
- Fill out form. I don't think it really matters what you pick in the menus.
- You need to provide a phone number that can receive SMS messages. Enter the verification code you get.
- When you get to the Console, click on the home icon at the top left.
- Record the SID and Token from this screen.
- Scroll down to the "# Phone Numbers" section, click on it.
- Click on "Get Started"
- Click on "Get your first Twilio phone number"
- Pick a number. By default, I think it gives you numbers near the number you used to verify your account. Make sure you get one that has SMS, MMS, and Voice capability.
- Record that number. This number will be yours as long as you want it, but you're limited in what you can do with it as long as your account is a Trial account.
Now that you have an SID, Token, and Twilio number, you can configure the plugin and create a Twilio device. You create one device for each Twilio number assigned to your account. Most users will only have one number, but more is certainly possible (and not very expensive).