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
930
Other Decks in Programming
See All in Programming
コードに語らせよう――自己ドキュメント化が内包する楽しさについて / Let the Code Speak
nrslib
6
1.4k
XSLTで作るBrainfuck処理系
makki_d
0
190
FormFlow - Build Stunning Multistep Forms
yceruto
1
150
ドメインモデリングにおける抽象の役割、tagless-finalによるDSL構築、そして型安全な最適化
knih
10
1.7k
try-catchを使わないエラーハンドリング!? PHPでResult型の考え方を取り入れてみよう
kajitack
3
500
UPDATEがシステムを複雑にする? イミュータブルデータモデルのすすめ
shimomura
1
520
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
740
インターフェース設計のコツとツボ
togishima
2
690
単体テストの始め方/作り方
toms74209200
0
430
GoのWebAssembly活用パターン紹介
syumai
3
9.8k
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
370
Java on Azure で LangGraph!
kohei3110
0
110
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
BBQ
matthewcrist
89
9.7k
Building Applications with DynamoDB
mza
95
6.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
910
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
900
KATA
mclloyd
29
14k
Faster Mobile Websites
deanohume
307
31k
Bash Introduction
62gerente
614
210k
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