Created
June 26, 2013 16:52
-
-
Save caseysoftware/5869171 to your computer and use it in GitHub Desktop.
This is the script to send a message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require 'Services/Twilio.php'; | |
| include 'credentials.php'; | |
| $client = new Services_Twilio($AccountSid, $AuthToken); | |
| $call = $client->account->sms_messages->create( | |
| '1512-555-1212', // From this number | |
| '17035551212', // Send to this number | |
| 'Hello monkey!!' | |
| ); | |
| print $call->sid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment