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
Supabase x Ruby on Rails
4geru
0
200
Supabase Edge Functions で最近追加された AI 機能を使ってみた
4geru
0
290
福山ネーター LINE DC ハッカソン 2023 @福山
4geru
0
110
Google Form とちょっと 仲良くなった話。
4geru
0
46
Flutter x Graph
4geru
0
220
Github Discussions がイケてる
4geru
0
660
Flutter Academy final presentatoin
4geru
0
36
ハッカソン x Gatsby
4geru
0
58
GASをハンズオンのAPIサーバーに使ってみた
4geru
1
30
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
354
29k
Git: the NoSQL Database
bkeepers
PRO
425
64k
The Cult of Friendly URLs
andyhume
76
6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
1
50
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
GitHub's CSS Performance
jonrohan
1030
450k
What the flash - Photography Introduction
edds
67
11k
We Have a Design System, Now What?
morganepeng
48
7.1k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
A Philosophy of Restraint
colly
202
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
24
610
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*৮ͬͯΈ·ͤΜ͔ʁ