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
学生時代に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
横断組織として考える共通DBの課題解決 〜 桃園の誓いアーキテクチャ 〜 / Addressing Shared Database Challenges as Cross-Team: “Peach Garden Oath” Architecture
4geru
2
740
Supabase x Ruby on Rails
4geru
0
240
Supabase Edge Functions で最近追加された AI 機能を使ってみた
4geru
0
330
福山ネーター LINE DC ハッカソン 2023 @福山
4geru
0
120
Google Form とちょっと 仲良くなった話。
4geru
0
52
Flutter x Graph
4geru
0
230
Github Discussions がイケてる
4geru
0
740
Flutter Academy final presentatoin
4geru
0
36
ハッカソン x Gatsby
4geru
0
58
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Designing for Performance
lara
604
68k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Designing the Hi-DPI Web
ddemaree
280
34k
Become a Pro
speakerdeck
PRO
25
5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Facilitating Awesome Meetings
lara
50
6.1k
Writing Fast Ruby
sferik
627
61k
Designing for humans not robots
tammielis
250
25k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
Typedesign – Prime Four
hannesfritz
40
2.4k
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*৮ͬͯΈ·ͤΜ͔ʁ