Upgrade to Pro — share decks privately, control downloads, hide ads and more …

クラウド電話サービス “Twilio” のご紹介

クラウド電話サービス “Twilio” のご紹介

Kiminari Homma

December 04, 2015
Tweet

More Decks by Kiminari Homma

Other Decks in Technology

Transcript

  1. ຊؒ ߖ੒ @kimihom ϘΫίί ӡӦऀ http://www.bokukoko.info/ CTO at selfree,llc Ruby

    on Rails, AWS, Heroku, Android, iOS TwilioJP-UG ϝϯόʔ
  2. TwiML Twilio Ͱి࿩Λड৴ɾൃ৴͢Δͱ͖ͳͲɺ Twilio ΁ಈ࡞໋ྩΛग़ͨ͢ΊͷXML Ͳ͏͢Ε͹͍͍ʁ ͜͏͠Ζ(TwiML) Webαʔόʔ <?xml version="1.0"

    encoding="UTF-8"?> <Response> <Gather action=“https://www.myapp.com/action”> <Play loop=“5”>https://www.myasset.com/voice.wav</Play> </Gather> </Response> αϯϓϧ
  3. REST API HTTP ௨৴Ͱ Twilio ͷ৘ใͷऔಘɾ࡞੒ɾߋ৽ɾ࡟আͳͲΛߦ͏ ֤ݴޠʹରԠ (PHP, Ruby, Python,

    Node.js etc) Webαʔόʔ ͜Ε΍ͬͯ ͜͏ͳΓ·ͨ͠ ྫ͑͹ ɾి࿩൪߸ͷऔಘɺߪೖɺ࡟আ ɾి࿩Λ͔͚Δɺ௨࿩ͷߋ৽ ɾSMS ૹ৴ ɾͦͷଞɺTwilio ϚΠϖʔδʹ͋Δૢ࡞ΛࣗલͰ࣮૷
  4. Client SDK ϒϥ΢β(JavaScript), iOS(Objective-C), Android(Java) Ͱهड़͞Εͨ Client ௨࿩Λ࣮ݱ͢ΔͨΊͷϥΠϒϥϦ REST APIͰൃߦͰ͖Δ”έΠύϏϦςΟτʔΫϯ”͕ඞཁɻ

    ண৴͕དྷͨͱ͖ɺ௨࿩Λ੾ͬͨͱ͖ɺΦϑϥΠϯʹͳͬͨͱ͖ ͲΜͳ͜ͱΛ͢Δ͔͚ͩΛॻ͚͹Α͍ Ͳ͏͢Ε͹͍͍ʁ Clientʹి࿩͠Ζ(TwiML) Webαʔόʔ