Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building Web Apps That Talk Back
Search
Timmy Crawford
February 05, 2012
Programming
2
270
Building Web Apps That Talk Back
A brief presentation on using Twilio to add SMS/Voice capabilities to your application.
Timmy Crawford
February 05, 2012
Tweet
Share
More Decks by Timmy Crawford
See All by Timmy Crawford
Gamification with the WordPress.com API
timmyc
0
200
Responsive Design
timmyc
11
1.5k
Making Data Driven Decisions
timmyc
2
920
Other Decks in Programming
See All in Programming
C++でシェーダを書く
fadis
6
4.1k
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
Jakarta EE meets AI
ivargrimstad
0
670
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
630
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
CSC509 Lecture 13
javiergs
PRO
0
110
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
110
初めてDefinitelyTypedにPRを出した話
syumai
0
420
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.8k
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
Featured
See All Featured
Scaling GitHub
holman
458
140k
Code Review Best Practice
trishagee
64
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Visualization
eitanlees
145
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building an army of robots
kneath
302
43k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Building Applications with DynamoDB
mza
90
6.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Why Our Code Smells
bkeepers
PRO
334
57k
Docker and Python
trallard
40
3.1k
Transcript
building web apps that talk back With @timmycrawford | github:
timmyc Sunday, February 5, 12
WHY? it is easy and robots kick ass Sunday, February
5, 12
getting started is easy Step One: Sign up at Twilio.com
free $30 credit ftw! Step Two: Grab SID and AUTH Token Step Three: Hack away using your Favorite Language Sunday, February 5, 12
mo money Mo Problems? $1.00 Lease a phone number per
month $0.01 per text $0.01 inbound call per minute $0.02 outbound call per minute Sunday, February 5, 12
api library diversity php ruby python .net java node.js -omg!
or just roll a rest client Sunday, February 5, 12
but since i’m a brogrammer i will use ruby (fist
Bump) Sunday, February 5, 12
twiml .is_easy? >> true brogram> gem install twilio brogram> gem
install builder Sunday, February 5, 12
how it works* magical twilio api *ripped off from twilio.com,
no they didn’t pay me to give this presentation Sunday, February 5, 12
just use verbs <SAY> <play> <gather> <record> <dial> <hangup> <pause>
Sunday, February 5, 12
real world example #1 product is available! Sunday, February 5,
12
i need longboard! Sunday, February 5, 12
mom and kid options 1995 Pine hipsters Sunday, February 5,
12
Twilio.connect(TWILIO_SID, TWILIO_AUTH) Twilio::Sms.message( TWILIO_NUMBER, MOBILE_NUMBER, "click here to confirm" )
Sunday, February 5, 12
you just made your app talk back Sunday, February 5,
12
people dig it Sunday, February 5, 12
Example #2 conepatrol.com Sunday, February 5, 12
how? robots scrape and twiml! Sunday, February 5, 12
imagine this: It snows up at mt bachelor they actually
open robot scrapes twilio sends alerts! Sunday, February 5, 12
text alert flow: rails app twilio api voice alert flow
rails app twilio api gets twiml Sunday, February 5, 12
<Response> <Play loop="1">http://conepatrol.com/ clips/kids.mp3</Play> <Pause>2</Pause> <Say voice="female" language="en" loop="1">Good morning
gaper timmy! It is time to wake up because bachelor got 6 inches. It is currently 26 degrees at west village and 23 degrees at pine marten. RIP IT UP LOL!</Say> <Hangup/> </Response> LIVE DEMO!!! Sunday, February 5, 12
repeat from roa 2K11 phone lottery Sunday, February 5, 12
541-526-7770 https://github.com/timmyc/Phone-Lottery Sunday, February 5, 12
questions? call my twilio number :P and tell people about
conepatrol.com Sunday, February 5, 12