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
280
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
930
Other Decks in Programming
See All in Programming
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
7
1.6k
LLMとPlaywright/reg-suitを活用した jQueryリファクタリングの実際
kinocoboy2
4
680
SpecKitでどこまでできる? コストはどれくらい?
leveragestech
0
610
CSC305 Lecture 04
javiergs
PRO
0
260
CSC509 Lecture 03
javiergs
PRO
0
330
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
130
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
210
チームの境界をブチ抜いていけ
tokai235
0
110
ソフトウェア設計の実践的な考え方
masuda220
PRO
3
510
Six and a half ridiculous things to do with Quarkus
hollycummins
0
130
明日から始めるリファクタリング
ryounasso
0
120
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
8
4.8k
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
9.9k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Mobile First: as difficult as doing things right
swwweet
224
10k
What's in a price? How to price your products and services
michaelherold
246
12k
Into the Great Unknown - MozCon
thekraken
40
2.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Documentation Writing (for coders)
carmenintech
75
5k
The Invisible Side of Design
smashingmag
301
51k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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