Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yecapee/chatbot-class

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

環境設定

安裝 Nodejs

安裝編輯器

註冊帳號

建立簡易伺服器

用來做後端伺服器的框架。範例檔案連結

const express = require('express')
const app = express()

app.get('/', function (req, res) {
  res.send('Hello World!')
})

app.listen(3000, function () {
  console.log('Example app listening on port 3000!')
})

用來處理 HTTP 呼叫的套件。範例檔案連結

const request = require('request')

let address = 'Taipei 101'
let url = `https://maps.googleapis.com/maps/api/geocode/json?address=${address}`

request(url,
  function (error, response, body) {
    console.log('error:', error) // Print the error if one occurred
    console.log('statusCode:', response && response.statusCode) // Print the response status code if a response was received
    console.log('body:', body) // Print the HTML for the Google homepage.
  })

Mongodb

Facebook ChatBot

LINE ChatBot

Telegram ChatBot

Google Cloud Natural Language API

使用 Chatbot 分析服務

作業

補充資料

URL 與 URI

  • 這個套件可以讓 localhost 的連結被外面連進來,而且還支援 https,適合開發 chatbot 的時候 debug
  • Chrome 的插件,可以用來傳送 HTTP request
  • Facebook Graph API 的好用工具

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.