$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
学生時代にLINE APIに触れ合って今身になったこと
Search
4geru sakisaka
December 18, 2019
0
180
学生時代にLINE APIに触れ合って今身になったこと
【東京】LINE Platform Meetup for Students vol.1! で発表した内容です
https://line.connpass.com/event/157589/
4geru sakisaka
December 18, 2019
Tweet
Share
More Decks by 4geru sakisaka
See All by 4geru sakisaka
趣味コーディングってやっぱ楽しいんだから
4geru
1
82
横断組織として考える共通DBの課題解決 〜 桃園の誓いアーキテクチャ 〜 / Addressing Shared Database Challenges as Cross-Team: “Peach Garden Oath” Architecture
4geru
2
810
Supabase x Ruby on Rails
4geru
0
260
Supabase Edge Functions で最近追加された AI 機能を使ってみた
4geru
0
340
福山ネーター LINE DC ハッカソン 2023 @福山
4geru
0
120
Google Form とちょっと 仲良くなった話。
4geru
0
53
Flutter x Graph
4geru
0
230
Github Discussions がイケてる
4geru
0
770
Flutter Academy final presentatoin
4geru
0
37
Featured
See All Featured
Thoughts on Productivity
jonyablonski
67
4.3k
Adopting Sorbet at Scale
ufuk
73
9.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Documentation Writing (for coders)
carmenintech
65
4.5k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
770
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
1
77
4 Signs Your Business is Dying
shpigford
181
21k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Transcript
ֶੜ࣌ʹ-*/&"1*ʹ৮ Ε߹ͬͯࠓʹͳͬͨ͜ͱ -*/&1MBUGPSN.FFUVQGPS4UVEFOUTX 536/,
3ߦ·ͱΊ w ֶੜ࣌ʹઓͨ͜͠ͱཱ͕͍ͬͯΔ w -*/&"1*͍ΖΜͳ͜ͱ͕Ͱ͖Δ w ౙٳΈ-*/&"1*৮ͬͯΈ·ͤΜ͔ʁ
ࣗݾհ ֶੜ࣌ HFSV ޭҰ ɾΤϯδχΞ ؔͷେֶग़ ճੜใܥֶ෦ʹೖΔ ճੜ8FCܥͷόΠτΛ͢Δ ճੜ-*/&CPUͱग़ձ͏ ճੜ-*/&ͷϋοΧιϯָ͍͠ʂʂ
ࣗݾհ ֶੜ࣌ w -*/&"1*&YQFSUظੜ w -*/&ͷϋοΧιϯग़·͍ͬͯͨ͘ w શʹ-*/&झຯɻ
ࣗݾհ ࣾձਓ࣌ HFSV ޭҰ ɾΤϯδχΞ ϚωʔϑΥϫʔυೖࣾ ϚωʔϑΥϫʔυೖࣾޙ ݄ˠ݄څ༩νʔϜ ݄ˠ݄ϝσΟΞνʔϜ ࣾཹֶ
݄ˠ݄څ༩νʔϜ ݄ˠࠓ݄ۈଵνʔϜ
w ৽ଔ w )31SPEVDUຊ෦ w ۈଵνʔϜ w ݄ʹϑΝʔετϦϦʔε w ࠷ۙझຯϓϩͰ͖ͯͳ͍
ࣗݾհ ࣾձਓ࣌
ͦΕͧΕͷ εςοϓͰͷඪ
ֶੜ࣌ͷඪ ͍ΖΜͳ͜ͱʹ νϟϨϯδͯ͠ݟΔ
ࣾձਓ࣌ͷඪ ϓϩμΫτʹूதʂ Ұ൪͍͍ͷΛ࡞Δ
ֶੜ࣌ͷ
͍ΖΜͳϋοΧιϯʹग़ͯ ͍ΖΜͳCPUΛ࡞ͬͨ
ΧϯΧϯ • ެ։ : 2017/04 • େֶͷׂ࣌ؒbot • Ϧονϝχϡʔ&ϘλϯΛ׆༻ •
શવใͱ͔͍ͯ͠ͳ͍ 2017/04 Max 358 req/day
ڷΖ͏͘Μ • ެ։ : 2017/10 • GovHack@ੜۨͰ࠷༏ल & MA2018LINEGovHack •
BeaconΛͬͯࢠͰಸྑͷྺ࢙Λ८Δ • LINE x Geolocationʹ͍ͭͯߟ͑Δ • ॳΊ·ͯ͠νʔϜͰ͍͍νʔϜ͕Ͱ͖ͨ
͘ΒͪΌΜ • ެ։ : 2017/08 • LINE Boot AwardͰ࡞ͨ͠bot •
Messaging API, CEK, Beacon, PayΛ٧ΊࠐΜͩ • खͿΒͰ؍ޫͯ͠ɺ͓࢈PayͰ༣ૹͤ͞Δ • ॳΊͯͷNodeͰ2ؒͰؤுͬͨɻ
IUUQTTQFBLFSEFDLDPNHFSVMJOFCPUMJGF աڈʹLTͨ͠ͷͰڵຯ͕͋Ε
͍ͨ͢͝ΓલͰ ؾ͔ͮͳ͍͚Ͳ ͳ͍ͱੜ׆Ͱ͖ͳ͍ΞϓϦ
εϚϗͰͰ͖Δ͜ͱ ಡॻ (PPHMFNBQ Χϝϥ 4/4 ݕࡧ ϝϞ͢Δ
ࠓͳΒ ؤுΕݸਓͰ ࡞ΕΔʂ
͕ࣗ-*/&Λ બͨ͠ཧ༝
• Bot͚ͩͩͱγϯϓϧͰUXߟ͑࢝ΊΔͱԞ͕ਂ͍ • Bot͚ͩ͡Όͳ͘IoT / VUI / viewͰ͖Δ • StampɾϘλϯɾURIεΩʔϚͱεϚϗΛ׆༻Ͱ͖Δ
• ؆୯ʹϦϦʔεͰ͖पΓͷਓʹFB͕Β͑Δ LINEͷΑ͞
ࣾձਓʹͳ͔ͬͯΒ
ڈ͔Β৽نαʔϏεʹࢀՃ • ϦϦʔεॳ • ػೳෆͰചΕͳ͍ͱݴΘΕ͍ͯͨ • ࠷ۙ • ػೳॆ࣮͖ͯͯ͠ɺͪΌΜͱ͑Δ •
ڝ߹ͱൺͯγϯϓϧͰΘ͔Γ͍͢
ڈ͔Β৽نαʔϏεʹࢀՃ
νʔϜͷมԽ ৽͍͠ϝϯόʔ ଞͷνʔϜʹߦ͘ϝϯόʔ
ϦϦʔεॳ ҰͭͷػೳΛ࡞Δ͝ͱʹ্͕͕ΔΑ͏ͳ εϙʔπΛ͍ͯ͠ΔΑ͏ͳָ͍͠νʔϜ ΤʔεΞλοΧʔ͕͍Ε εέδϡʔϧௐͯ͘͠ΕΔ ηολʔ͕͍Δ ث༻ͳ6* Ϛελʔ མͪͯΔϘʔϧ Λर͏Ϧϕϩ
࠷ۙ શһ͕ಉ͡ϕΫτϧΛ͍͍ͯͯ ϓϩμΫτΛΑΓΑ͘͠Α͏ͱʑྗ 1.͕ࢀՃ ΈΜͳಉ͡ϕΫτϧΛ͚Δ ༨༟Λ࣋ͬͨεέδϡʔϧ ͍ΖΜͳλΠϓͷ ੜె͕͍Δ ൝ 1.
͕ δϟοδΛ͢ΔͷͰ ؾ࣋ͪతʹগָ͠ʹ
ࣾձਓೋΛৼΓฦͬͯ • མͪͯΔϘʔϧΛर͍ʹߦ͘บ͕͍ͭͨ • ࡉ·Ͱͩ͜ΘΔ͜ͱͰɺ͓٬͞Μʹ Θ͍ͬͯΔ
BotΛ࡞ͬͯΈͯ(ΤϯδχΞઢ) • ઃܭྗɾ༷ࡦఆɾ࣮ྗ্͕͕ͬͨ • ৽͍͠ػೳͷ࣮Λ͞ΕΔ͜ͱ͕ଟ͍ • ϚΠΫϩαʔϏε/ϋʔυΣΞपΓ/PDFग़ྗ • ៉ྷ/Ԛ͍ίʔυ͕ॻ͚ΔΑ͏ʹͳͬͨ •
͍ΖΜͳݴޠͷੑ͕Ͱ͖ͨ
BotΛ࡞ͬͯΈͯ(ඇΤϯδχΞઢ) • ϞϒϓϩɾϖΞϓϩྗ্͕͕ͬͨ • UI/UXΛΑΓٻΊΒΕΔΑ͏ʹͳͬͨ • MVP͕ܾΊΒΕΔΑ͏ʹͳͬͨ (ඞཁ࠷ݶͲ͜·Ͱ࡞Δ͔)
͠CPU࡞Γ͍ͨ ͱࢥͬͨΒ
ࢿྉ͋Γ·͢ʂ ʲLINE botʳॳΊͯͷ͓Έ͘͡bot ʲLINE botʳϦονϝχϡʔΛͬͨΧϯτbot ʲLINE botʳ࠷دӺݕࡧbot ʲLINE botʳՄѪ͘͢ΔͨΊʹ ϩʔΧϧͰ࢝ΊΔLINE
bot @Ruby ΞΫγϣϯΦϒδΣΫτͰͰ͖Δ͜ͱ
RVJUB !HFSVͰݕࡧʂ ౙٳΈνϟϨϯδ͠·ͤΜ͔ʁ
3ߦ·ͱΊ w ֶੜ࣌ʹઓͨ͜͠ͱཱ͕͍ͬͯΔ w -*/&"1*͍ΖΜͳ͜ͱ͕Ͱ͖Δ w ౙٳΈ-*/&"1*৮ͬͯΈ·ͤΜ͔ʁ