AI LINE Bot練功坊-L1 LINE Bot基本介紹 === ## 聊天機器人 聊天機器人是一個可以處理人類對話的電腦程式,他能夠讓人類與數位服務進行互動,現今也成為許多商家必備的工具。 ## API 介紹 API(Application Programming Interface,應用程式介面)是一組定義和協議,用於建立和整合應用程式軟體。  >Reference:https://www.postman.com/what-is-an-api/ ## LINE API 服務 比較常用的API服務如下: 1. **Line Login** 2. **Line Notify** 3. **LIFF** 4. **Messaging API** ## Line Bot 的優點 1. **用戶基數大**:Line 本身有大量的用戶。 2. **多元訊息模式**:支援多種訊息格式。 3. **即時互動**:能夠即時回應用戶訊息。 ## Line Bot 的缺點 1. **Push 訊息量多需要收費**。 2. **手機版和電腦版功能不同,設計時需考慮**。 ## Messaging API 的功能 1. **Push API**:由 LINE 機器人傳送訊息給用戶。  2. **Reply API**:用戶傳送訊息給機器人,幾秒內自動回訊息。  >Reference : https://tw.linebiz.com/e-learning/Messaging-API-application/ ## Messaging API 收費標準 1. **輕用量**:免費,200 則免費訊息。 2. **中用量**:NT$800/月,3000 則免費訊息。 3. **高用量**:NT$1200/月,6000 則免費訊息,加購訊息費用:0.2 元/則。  >Reference:https://tw.linebiz.com/column/LINEOA-2023-Price-Plan/ ## Messaging API 的原理 1. **發送訊息/事件**:由 LINE 伺服器將訊息/事件及發送者資料送到你的伺服器。 2. **接受與處理**:伺服器接受並處理訊息/事件,並向 LINE 伺服器回傳回覆訊息,傳給目標使用者接收與解析訊息。   >Reference:https://engineering.linecorp.com/zh-hant/blog/line-bot-guideline-2 Youtube 課程影片 --- <iframe width="560" height="315" src="https://www.youtube.com/embed/8wEAt3hl4h4?si=UD4d6W7oQcGuHy4e" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> {%hackmd @ntuebigdata/about %} ## 相關教材連結 <div style="display: flex; justify-content:space-between;"> <div> <a class="btn btn-warning" href="https://hackmd.io/@ntuebigdata/create-a-line-official-account" style="color:white;width:300px;text-overflow:ellipsis;overflow:hidden">▶▶▶ L02 建立LINE官方帳號 ▶▶▶</a> </div> <div> <a class="btn btn-info" href="https://hackmd.io/@ntuebigdata/create-a-line-official-account" style="color:white;width:300px;text-overflow:ellipsis;overflow:hidden">▶▶▶ L02 建立LINE官方帳號 ▶▶▶</a> </div> </div>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up