skip to Main Content

Post request for SMS message? – Twillio

I am trying to figure out how the twillio sample curl -request actually works for SMS message. Here is a link to the "test" messages that you can use to make a request: https://www.twilio.com/user/account/developer-tools/api-explorer/message-create Here is the curl post: curl…

VIEW QUESTION

Twillio reply to message

I have this code: require dirname(__FILE__)."/twilio/services/Twilio.php"; $client = new Services_Twilio($option['twilioAccountSid'], $option['twilioAuthToken']); $client->account->sms_messages->create($option['twilioFrom'], $to, 'Will you attend?', array('StatusCallback'=>'http://domain.com/callback.php')); callback.php: file_put_contents('/twilio.log', print_r(array($_REQUEST), true) . PHP_EOL ); The scenario is the following. I send the message "Will you attend?" $to +155555555. When they…

VIEW QUESTION

twillio integeration with rails 3.2

Need help with integrating Twillio in a rails app made for making appointments. I am trying to integrate twilio to send appointment reminders. I have two models User & Appointment. class User < ActiveRecord::Base attr_accessible :email, :password, :password_confirmation, :remember_me, :provider,…

VIEW QUESTION
Back To Top
Search