Created
April 27, 2013 23:19
-
-
Save RobSpectre/5475141 to your computer and use it in GitHub Desktop.
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 | |
| // Documentation is here: https://twilio-php.readthedocs.org/en/latest/ | |
| require_once('auth.php'); | |
| require_once('Services/Twilio.php'); | |
| $client = new Services_Twilio($ACCOUNT_SID, $AUTH_TOKEN); | |
| $message = $client->account->sms_messages->create( | |
| '+17189891458', | |
| '+12024127010', | |
| 'Dude. I hope this shit works. I haven\'t written PHP in years.' | |
| ); | |
| print $message->sid; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks Rob!