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
趣味コーディングってやっぱ楽しいんだから
4geru
1
88
横断組織として考える共通DBの課題解決 〜 桃園の誓いアーキテクチャ 〜 / Addressing Shared Database Challenges as Cross-Team: “Peach Garden Oath” Architecture
4geru
2
860
Supabase x Ruby on Rails
4geru
0
270
Supabase Edge Functions で最近追加された AI 機能を使ってみた
4geru
0
340
福山ネーター LINE DC ハッカソン 2023 @福山
4geru
0
130
Google Form とちょっと 仲良くなった話。
4geru
0
53
Flutter x Graph
4geru
0
240
Github Discussions がイケてる
4geru
0
800
Flutter Academy final presentatoin
4geru
0
38
Featured
See All Featured
Site-Speed That Sticks
csswizardry
2
190
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
97
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Fireside Chat
paigeccino
34
3.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Practical Orchestrator
shlominoach
186
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Mobile First: as difficult as doing things right
swwweet
222
9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
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.