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
Primus
Search
papix
October 31, 2016
Technology
2k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Primus
papix
October 31, 2016
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
1.9k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
750
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.7k
イベントの中の人 / Inside the Events
papix
0
360
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
630
ワーケーションに関する考察
papix
3
2.3k
(今更)Amplifyさっくり体験
papix
0
930
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.8k
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
0
1.3k
Other Decks in Technology
See All in Technology
依頼文化をやめる日 EM視点で語るPlatform EngineeringとInclusive SRE / Discussing Platform Engineering and Inclusive SRE from an EM's Perspective
shin1988
4
5.1k
勉強会企画をアプリで構造化してみた 〜そこで見えた、AIとの付き合い方〜 / I've structured a study group plan using an app.
pauli
0
340
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
920
GuardrailからGovernanceへ~AIエージェント運用の次の課題~
sbspsy
2
260
キャリアの中で本を作る / Making a Book During Your Career
ak1210
0
130
アカウントが増えてからでは遅い? ~ マルチアカウント統制の勘所 ~
kenichinakamura
0
220
cccccc
moznion
0
1.9k
SRE Next 2026 何でも屋からの脱却
bto
0
530
“全部コピーしない”ファイルデータの活用 : — FSx for ONTAP × S3 Tables × Icebergで作るメタデータカタログ
yoshiki0705
0
700
Empower GenAI with Agile - あなたのアジャイルが生成AIのバフになる仕組み
hageyahhoo
1
170
AWS Summit の片隅で、体育座りしながらコミュニティがにぎわう理由を考えた
k_adachi_01
2
370
型は壁、Rustでもバグを直すな、表現できなくせよ
nwiizo
13
2k
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Utilizing Notion as your number one productivity tool
mfonobong
4
360
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
600
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Ethics towards AI in product and experience design
skipperchong
2
330
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
180
A better future with KSS
kneath
240
18k
Transcript
Presented by // slasla ͨͪͲ͏ͯ͠ LINEͷBotΛ ϩʔΧϧͰ ։ൃ͔ͨͬͨ͠Μͩ 2016/10/29 papix
(adish / SHIKI)
Presented by // slasla papix Perl/Go/Infra Engineer @ _ _
p a p i x_ _ https://twitter.com/__papix__ papix https://github.com/papix Masteries (TECH) http://papix.hatenablog.com/ adish • Engineer SHIKI (// slasla) • Founder • Engineer Perl Entrance (Headmaster) Mackerel User Group (Founder) 346 Production (Producer / 渋⾕凛担当) ઈରসإͰ·ͩ·ͩ ͍ͬͺ͍ເΈΔϒϩά (LIFE) http://papix.hatenablog.jp/
Presented by // slasla Presented by // slasla લఏ: hitobo
Presented by // slasla
Presented by // slasla 基本的にBotが⼀次対応
Presented by // slasla 細かい対応は⼈間が⼆次対応
Presented by // slasla 「Botだけ」でも「⼈間だけ」でも出来ない, 低コストだが柔軟性のあるCS
Presented by // slasla
Presented by // slasla LINE Messaging APIやっていくぞ!
Presented by // slasla Presented by // slasla LINE Messaging
API
Presented by // slasla
Presented by // slasla ドキュメントが⽇本語!!!!!!!
Presented by // slasla
Presented by // slasla SDKも充実!!!!!!!!
Presented by // slasla
Presented by // slasla PerlのSDKもある!!!!!!!!! yappoさんありがとうございます!!!!!
Presented by // slasla 最⾼かよ…
Presented by // slasla Presented by // slasla WebhookΛड͚Δ
Presented by // slasla LINEからのユーザーのメッセージは Webhookで受け取れる
Presented by // slasla 受け取っていくぞ!!!!
Presented by // slasla …どうやって?
Presented by // slasla Presented by // slasla ࣾͰฉ͍ͯΈͨ
Presented by // slasla 「EC2のGIPにWebhook投げて, EC2で開発したらいいんちゃいます?」
Presented by // slasla (´・ω・`) メンドクセ…
Presented by // slasla 実際皆さん外部サービスの Webhook受けて開発するとき どうしてるんですか!?
Presented by // slasla Presented by // slasla ͻΒΊ͍ͨ!
Presented by // slasla Webhook Server Webhook (と, ほぼ同じReqest) Publish
ϩʔΧϧϚγϯ Πϯλʔωοτ Client 開発しているWeb App
Presented by // slasla こうすれば…
Presented by // slasla 「外部サービスのWebhookを受ける」 「ローカルでサービスを開発する」
Presented by // slasla 両⽴ができる!!!!!!!!
Presented by // slasla Presented by // slasla Primus
Presented by // slasla Primus: Publish Received Incoming-webhook to MUlti
Service
Presented by // slasla Presented by // slasla Primusͷ֓ཁ
Presented by // slasla Primus Server (Perl + Node)
Presented by // slasla WebhookをAmon2で受ける
Presented by // slasla SocketIO::Emitterでpublish
Presented by // slasla WebhookのQuery String, Header, Bodyとかを送る
Presented by // slasla Nodeで書かれたSocketIOサーバを 経由してPrimus Clientへ届く
Presented by // slasla Primus Client (Node)
Presented by // slasla SocketIOサーバにconnect
Presented by // slasla 受け取ったデータで Webhookのリクエストを再現
Presented by // slasla ローカルで動く Webサービスへリクエストを送る
Presented by // slasla デモ
Presented by // slasla Presented by // slasla ·ͱΊ
Presented by // slasla LINE Messaging API最⾼!
Presented by // slasla Primus結構便利!
Presented by // slasla PrimusをGoで書き換えるぞ!!!!!
Presented by // slasla Presented by // slasla ͋Γ͕ͱ͏ ͍͟͝·ͨ͠!