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
290
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Timmy Crawford
See All by Timmy Crawford
Gamification with the WordPress.com API
timmyc
0
210
Responsive Design
timmyc
11
1.5k
Making Data Driven Decisions
timmyc
2
950
Other Decks in Programming
See All in Programming
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
200
ソフトウェアラスタライザ
fadis
1
740
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
44
28k
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
540
Go 1.27 における memory allocation の高速化
andpad
0
350
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
120
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
900
Oxlintはいいぞ(続)
yug1224
1
490
Deep dive into the select statement (GopherCon UK)
jespino
0
160
Introducing Stack Pull Request in GitHub
kkamegawa
0
110
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
570
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
120
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
The SEO identity crisis: Don't let AI make you average
varn
0
540
Writing Fast Ruby
sferik
630
63k
Done Done
chrislema
186
16k
The Limits of Empathy - UXLibs8
cassininazir
1
620
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
390
30 Presentation Tips
portentint
PRO
1
380
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
220
The Invisible Side of Design
smashingmag
301
52k
A Modern Web Designer's Workflow
chriscoyier
698
190k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
310
Abbi's Birthday
coloredviolet
3
9.6k
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