Skip to content

isdaviddong/Line_Notify_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Line Notify Example


這個範例展示如何使用 Line Notify ,透過OAuth取得可發送Line訊息給用戶的Token
並透過該Token免費發送Line Message (👉如果已取得Token, 只需要發訊息, 則只要一行程式即可, isRock.LineNotify.Utility.SendNotify(...) )
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. 接著輸入訊息後,按下發送鈕即可測試

Hands-on lab

https://hackmd.io/s/H1FjUse_4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages