LoginSignup
4
5

More than 5 years have passed since last update.

LINE Notify を試したのでメモ

Last updated at Posted at 2016-10-19

必要なもの

PC でログインできる LINE ID

手順

  • LINE Notify と友だちになる
  • LINE Notifyのマイページ に LINE ID でログイン
  • アクセストークンを発行する
    • トークンは何度も作り直せるので、適当な名前でも大丈夫
    • 送り先は自分(1 on 1)か、グループを指定できる
  • [access_token] の部分を発行したアクセストークンに置き換えて、以下を実行
    • curl -X POST -H 'Authorization: Bearer [access_token]' -F 'message=テストでーす!' https://notify-api.line.me/api/notify

この後は

マイページから開発者ドキュメントをダウンロードできますので、それを見ていろいろ試せそうです。

4
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5