rate (vs. email’s 20%) • 90% of text messages are read within 3 minutes of delivery • Texting is the most frequently used feature on phones today (more than internet use, voice calls, email, social media, etc)
= Twilio::REST::Client.new account_sid, auth_token # Or, pre-configure in an initializer Twilio.configure do |config| config.account_sid = account_sid config.auth_token = auth_token end # Then you can create a new client without parameters @client = Twilio::REST::Client.new
number to: '+16105557069', body: ‘indyrb: Reminder that our monthly meetup is tonight @ 7pm at The Speak Easy. See http://bit.ly/1Mozn3q for more details. Reply STOP to cancel.’, )
just like a browser sending a cookie back with each request • Cookie is associated with to/from phone numbers • Go ahead, try it! Text “knock knock” to 317-900-4588. • To the code!