chaseshyu / Line_Notify_Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line Notify Example


這個範例展示如何使用 Line Notify ,透過OAuth取得可發送Line訊息給用戶的Token
並透過該Token免費發送Line Message
Line Notify 概念請參考 http://studyhost.blogspot.tw/2016/12/linebot6-botline-notify.html


說明:

  1. 使用此範例Source code,請先更換程式碼中《你的Client_id》
    (位於default.aspx)
  2. 並且調整你申請好的LineNotify設定的callback url
    (測試階段應為http://localhost:3696/Callback.aspx)
  3. 同時Callback.aspx.cs中的client_id與client_secret必須改為擬申請LineNotify後取得的正確資料
  4. 相關說明請參考 : http://studyhost.blogspot.tw/2016/12/linebot6-botline-notify.html

使用(請於VS2015中,執行default.aspx):
  1. 請點選用戶註冊,將會取得該登入用戶的發送訊息token
  2. 接著輸入訊息後,按下發送鈕即可測試

About


Languages

Language:JavaScript 90.0%Language:CSS 6.4%Language:C# 2.1%Language:ASP 1.5%