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
さよなら全てのエヴァンゲリオン。 熱く燃えた2日間
Search
4geru sakisaka
April 28, 2021
0
78
さよなら全てのエヴァンゲリオン。 熱く燃えた2日間
「【LT増枠】Web API LT会 - vol.2【登壇初心者の方大歓迎】 」 にて登壇した時の資料
https://rakus.connpass.com/event/208444/
4geru sakisaka
April 28, 2021
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
320
福山ネーター 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
Making the Leap to Tech Lead
cromwellryan
133
8.9k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Typedesign – Prime Four
hannesfritz
40
2.4k
A designer walks into a library…
pauljervisheath
202
24k
Designing for humans not robots
tammielis
250
25k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
What's in a price? How to price your products and services
michaelherold
243
12k
Producing Creativity
orderedlist
PRO
341
39k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Transcript
Web API LTձ - vol.2 ʲొஃॳ৺ऀͷํେܴʳ ͞ΑͳΒશͯͷΤϰΝϯήϦΦϯɻ ͘೩͑ͨ2ؒ 2021/04/14 @4geru
λΠτϧͰग़མͪ ͍͢·ͤΜ
LINE APIͷΛ͠·͢
※ݸਓͷझຯͰ࡞ͬͨͷͰ͢
2ؒͰαΫοͱ࡞ͬͯ ຊ൪͕͏·͘ಈ͔ͳ͍ͷͰ… 🙇ீ͍LTͰ͢🙇
None
ίϩφʹΑΔ։࠵தࢭͷ͓Βͤ
ϙελʔ͚ͩ Ӻʹలࣔ͞ΕΔ͜ͱʹ
ਪ͠ʹձ͍͍ͨ
ਪ͠ʹձ͍͍ͨ
ਪ͠ʹձ͍͍ͨ
ਪ͠ʹձ͍͍ͨ
ਪ͠ʹձ͍͍ͨ
͓Ոʹډͳ͕Β ਪ͠ʹձͬͨؾʹͳΓ͍ͨʂʂ
ࣗݾհ !@HFSV !HFSV גࣜձࣾϚωʔϑΥϫʔυ 🤿🖥 🐼🍣🍺 ࣾձਓɺΤϯδχΞ
LINE APIͷΛ͠·͢
࡞ͨ͠LINE bot
ࠓճͨ͜͠ͱղઆ
ɾͰ͖Δ͜ͱΛΘ͔Γ͘͢આ໌Ͱ͖Δ ɾϊʔίʔυͰͰ͖Δ ༑ୡՃ࣌ͷϝοηʔδ
ɾϝοηʔδΛૹΔͱAPI͔Βฦ৴Ͱ͖Δ Message
Flex Message ɾΧελϚΠζͯ͠ϝοηʔδΛฦͤΔ ɹɾϘλϯɾը૾ͳͲ ɹɾΞΫγϣϯมߋͰ͖Δ
ςϯϓϨʔτ͕๛ IUUQTEFWFMPQFSTMJOFCJ[KBEPDTNFTTBHJOHBQJVTJOHqFYNFTTBHFT
γϡϛϨʔλʔ͕ศརʂ
Quick Reply ɾϝοηʔδૹ৴ͱҰॹʹɺΞΫγϣϯΛ ҊͰ͖Δ
ΞΫγϣϯʁ ɾϝοηʔδΞΫγϣϯ ɹɾϝοηʔδΛLINEʹฦ͢ ɾϙετόοΫΞΫγϣϯ ɹɾϙετόοΫσʔλΛαʔόʔʹฦ͢ ɾURIΞΫγϣϯ ɹɾLINE URLεΩʔϜΛݺͼग़͢
LINE URIεΩʔϜ ɾΧϝϥΛ։͘ ɾҐஔใΛ։͘ ɾLINEެࣜΞΧϯτΛ༑ୡʹγΣΞ ͳͲͳͲ৭ʑͰ͖Δ IUUQTEFWFMPQFSTMJOFCJ[KBEPDTNFTTBHJOHBQJVTJOHMJOFVSMTDIFNF
LINE Botͷ ͬͱ͍͍ͱ͜ʂ
LINE botͷϝϦοτ ɾͲͷݴޠͰ؆୯ʹ࡞ΕΔ ɾଞͷAPIͱ࿈ܞ͕؆୯ ɾ΄΅ແྉͰ͑Δ(push௨͚ͩ༗ྉ
LINE Bot࡞Γͨ͘ ͳΓ·͔ͨ͠ʁ
Fin.