Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
Transcript
48 slides
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 ͋Γ͕ͱ͏ ͍͟͝·ͨ͠!
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
2k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
800
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.7k
イベントの中の人 / Inside the Events
papix
0
380
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
670
ワーケーションに関する考察
papix
3
2.4k
(今更)Amplifyさっくり体験
papix
0
950
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.9k
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
0
1.3k
Other Decks in Technology
See All in Technology
Go でトランザクション、どう書いてますか?
knwoop
2
620
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
gradle-best-practices 使ってみた
mikanichinose
0
230
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
240
Terraform 0 to 100:100個以上のリポジトリを常に最新にし続けるための自動化
sue445
3
1.4k
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
320
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
200
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
4
880
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
160
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
お風呂場をサーバルームにしよう
yusuke427
0
400
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570
How to train your dragon (web standard)
notwaldorf
96
6.9k
How STYLIGHT went responsive
nonsquared
100
6.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
650
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
ラッコキーワード サービス紹介資料
rakko
5
6M
Prompt Engineering for Job Search
mfonobong
0
610
Agile that works and the tools we love
rasmusluckow
331
22k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
370
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Color Theory Basics | Prateek | Gurzu
gurzu
1
530