SlideShare a Scribd company logo
1 of 10
Node-RED Chatbot module
Roger 2016/8/9
Slack Bot
1. 建立Slack帳號
2. 建立機器人
3. 取得API Token
1. 與機器人對話
Node-RED Chatbot Slack
Messenger Bot
1. 建立粉絲專頁
2. 建立應用程式 (網站),名稱必填,網站可之後再補
1. 建立Server端 (必須為https)
設定Messenger應用程式
1. 點選+新增產品,選取Messenger 2. 取得粉絲專頁Token
設定Messenger Webhook
1. 設定callback URL (https)和verify token (驗
證用,可隨意輸入),訂閱欄位勾選
Message相關的選項
2. 通過Webhook驗證後進行粉絲專業綁定,
token為粉絲專頁token,成功後會收到回傳
curl -ik -X POST
"https://graph.facebook.com/v2.7/me/subscribed_a
pps?access_token=<token>
Node-RED Chatbot Facebook
Telegram Bot
1. 先註冊Telegram帳號 (需要簡訊驗證)
2. 私訊 @BotFather 輸入 /newbot ,會請您
依序輸入 bot 顯示的名稱、 bot 的
username (必須為 bot 結尾) ,且長度需介
於 5-32 字元
3. 完成後,BotFather 會顯示 Token (格式:
12345:AAJqs_w-4),可利用此 Token 透過
HTTPS 發送請求
Node-RED Chatbot Telegram
Hubot framework
1. Hubot是GitHub的開源聊天機器人,已經使用Coffee script 和node.js重新編寫
1. Write once run anywhere

More Related Content

Similar to Node-red Chatbot module

单点登录解决方案的架构与实现
单点登录解决方案的架构与实现单点登录解决方案的架构与实现
单点登录解决方案的架构与实现jeffz
 
用 Go 語言打造 DevOps Bot
用 Go 語言打造 DevOps Bot用 Go 語言打造 DevOps Bot
用 Go 語言打造 DevOps BotBo-Yi Wu
 
AT&T 的 HTML5 策略和应用现状
AT&T 的 HTML5 策略和应用现状AT&T 的 HTML5 策略和应用现状
AT&T 的 HTML5 策略和应用现状Tom Fan
 
InMobi_IAT SDK介接說明(一)
InMobi_IAT SDK介接說明(一)InMobi_IAT SDK介接說明(一)
InMobi_IAT SDK介接說明(一)沛豈 謝
 
百度-雲推送
百度-雲推送百度-雲推送
百度-雲推送Pou Mason
 
Hongxing
HongxingHongxing
Hongxingncmooc
 
99 botnet期末簡報
99 botnet期末簡報99 botnet期末簡報
99 botnet期末簡報Shi-Hwao Wang
 
Bot Framework 和它的快樂夥伴Composer
Bot Framework 和它的快樂夥伴ComposerBot Framework 和它的快樂夥伴Composer
Bot Framework 和它的快樂夥伴ComposerKo Ko
 
PHP 應用之一 socket funion : 偽 WEB Server
PHP 應用之一 socket funion : 偽 WEB ServerPHP 應用之一 socket funion : 偽 WEB Server
PHP 應用之一 socket funion : 偽 WEB Server志賢 黃
 
如何設定多重SSID(A2004NS )
如何設定多重SSID(A2004NS )如何設定多重SSID(A2004NS )
如何設定多重SSID(A2004NS )臺灣塔米歐
 
05.如何設定多重ssid
05.如何設定多重ssid05.如何設定多重ssid
05.如何設定多重ssid臺灣塔米歐
 
[xKungFoo2012]Web Service Hack
[xKungFoo2012]Web Service Hack[xKungFoo2012]Web Service Hack
[xKungFoo2012]Web Service Hackpnig0s pnig0s
 

Similar to Node-red Chatbot module (18)

单点登录解决方案的架构与实现
单点登录解决方案的架构与实现单点登录解决方案的架构与实现
单点登录解决方案的架构与实现
 
用 Go 語言打造 DevOps Bot
用 Go 語言打造 DevOps Bot用 Go 語言打造 DevOps Bot
用 Go 語言打造 DevOps Bot
 
AT&T 的 HTML5 策略和应用现状
AT&T 的 HTML5 策略和应用现状AT&T 的 HTML5 策略和应用现状
AT&T 的 HTML5 策略和应用现状
 
InMobi_IAT SDK介接說明(一)
InMobi_IAT SDK介接說明(一)InMobi_IAT SDK介接說明(一)
InMobi_IAT SDK介接說明(一)
 
百度-雲推送
百度-雲推送百度-雲推送
百度-雲推送
 
Hongxing
HongxingHongxing
Hongxing
 
99 botnet期末簡報
99 botnet期末簡報99 botnet期末簡報
99 botnet期末簡報
 
Webrtc
WebrtcWebrtc
Webrtc
 
Bot Framework 和它的快樂夥伴Composer
Bot Framework 和它的快樂夥伴ComposerBot Framework 和它的快樂夥伴Composer
Bot Framework 和它的快樂夥伴Composer
 
PHP 應用之一 socket funion : 偽 WEB Server
PHP 應用之一 socket funion : 偽 WEB ServerPHP 應用之一 socket funion : 偽 WEB Server
PHP 應用之一 socket funion : 偽 WEB Server
 
如何設定多重SSID(A2004NS )
如何設定多重SSID(A2004NS )如何設定多重SSID(A2004NS )
如何設定多重SSID(A2004NS )
 
如何設定多重SSID
如何設定多重SSID如何設定多重SSID
如何設定多重SSID
 
如何設定多重SSID?
如何設定多重SSID?如何設定多重SSID?
如何設定多重SSID?
 
ChatBot
ChatBotChatBot
ChatBot
 
05.如何設定多重ssid
05.如何設定多重ssid05.如何設定多重ssid
05.如何設定多重ssid
 
如何設定多重ssid
如何設定多重ssid如何設定多重ssid
如何設定多重ssid
 
Soap
SoapSoap
Soap
 
[xKungFoo2012]Web Service Hack
[xKungFoo2012]Web Service Hack[xKungFoo2012]Web Service Hack
[xKungFoo2012]Web Service Hack
 

More from 承翰 蔡

Notes for AWS IoT
Notes for AWS IoTNotes for AWS IoT
Notes for AWS IoT承翰 蔡
 
Bitcoin developer guide
Bitcoin developer guideBitcoin developer guide
Bitcoin developer guide承翰 蔡
 
The 3rd generation blockchain
The 3rd generation blockchainThe 3rd generation blockchain
The 3rd generation blockchain承翰 蔡
 
How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)承翰 蔡
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction承翰 蔡
 
AWS IoT introduction
AWS IoT introductionAWS IoT introduction
AWS IoT introduction承翰 蔡
 
IoT開發平台NodeMCU
IoT開發平台NodeMCUIoT開發平台NodeMCU
IoT開發平台NodeMCU承翰 蔡
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqttNode mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt承翰 蔡
 
Arduino mqtt client introduction
Arduino mqtt client introductionArduino mqtt client introduction
Arduino mqtt client introduction承翰 蔡
 
Webduino introduction
Webduino introductionWebduino introduction
Webduino introduction承翰 蔡
 
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x BenchmarkMongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark承翰 蔡
 
Kimono sharing
Kimono sharingKimono sharing
Kimono sharing承翰 蔡
 

More from 承翰 蔡 (13)

Notes for AWS IoT
Notes for AWS IoTNotes for AWS IoT
Notes for AWS IoT
 
Ipfs
IpfsIpfs
Ipfs
 
Bitcoin developer guide
Bitcoin developer guideBitcoin developer guide
Bitcoin developer guide
 
The 3rd generation blockchain
The 3rd generation blockchainThe 3rd generation blockchain
The 3rd generation blockchain
 
How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction
 
AWS IoT introduction
AWS IoT introductionAWS IoT introduction
AWS IoT introduction
 
IoT開發平台NodeMCU
IoT開發平台NodeMCUIoT開發平台NodeMCU
IoT開發平台NodeMCU
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqttNode mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
 
Arduino mqtt client introduction
Arduino mqtt client introductionArduino mqtt client introduction
Arduino mqtt client introduction
 
Webduino introduction
Webduino introductionWebduino introduction
Webduino introduction
 
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x BenchmarkMongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
 
Kimono sharing
Kimono sharingKimono sharing
Kimono sharing
 

Node-red Chatbot module

Editor's Notes

  1. 參考網址 https://blog.arvinh.info/2016/04/17/%E8%B6%85%E7%B0%A1%E6%98%93-Messenger-API-%E5%88%9D%E6%8E%A2/
  2. 參考網址 http://blog.ysitd.io/2016/03/05/howto-make-a-bot-in-telegram/