Protype Line Notifiy

建置 / 使用方式

1️⃣ 建立訊息 App 服務

📌 建立訊息 App 服務: https://notify-bot.line.me/my/services/new

👉 設定 callback url: https://notify.pro.as/sitemap.xmlcallback.php

2️⃣ 綁定通知對象

📌 點選此處以選擇要綁定的通知對象: https://notify-bot.line.me/oauth/authorize...

3️⃣ 編輯 .config.json 並針對指定通知對象設定密鑰

一個指定對象可以有多個密鑰組合(標籤),一個密鑰也可以使用在多個指定對象(廣播)

📌 RandomKeygen - 線上密鑰產生器: https://randomkeygen.com/

4️⃣ 使用密鑰發送訊息

👉 發送訊息 API endpoint: https://notify.pro.as/sitemap.xmlmessage.php?secret={secret-key}&message={urlencode(string)}

設定檔內容

👉 Config file: ../.config.json

👉 Config config:

Array
(
    [name] => 天井訊息中心
    [client_id] => i2Twy************Ognmw
    [client_secret] => JZr7C*********************************NT1xC
)


訊息發送綁定清單

Curl failed: Could not resolve host: notify-api.line.me