Created
April 5, 2012 19:49
-
-
Save crtr0/2313557 to your computer and use it in GitHub Desktop.
Fetch some SMS messages from Twilio and call the senders
This file contains 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
var magic = function () { | |
twilio.getSmsMessages("623-850-4926", "2012-04-02", function (success) { | |
success.sms_messages.forEach(function (message) { | |
twilio.makeCall("623-850-4926", message.from, "http://demo.rabasa.com/tombstone.php"); | |
}); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment