Google Apps ScriptでLINEボット試してみました
こんにちは、@yasuです。
今回も、LINENのオウム返しボットです。
アクセストークンは、スクリプトプロパティから取得するようにしています。
ファイル作成は、Google ドライブから、Google Apps Script(GAS)を選択します。
上記のコードは、LINEボットSDKを利用すると、もっと簡単に記述できます。
スクリプトプロパティ
デプロイしたあと、URLが公開されるので、そのURLをLINEに登録します。
GASで作成した場合は、httpsの設定を意識する必要はありません。
ありがとうございました。
いらすとや
steemit サインアップ
steemit 知識
日本語 Steemit Discord (超初心者~誰でも)
@yasu.witness は、Witness Node、Seed Node、 Full API Nodeを立ち上げています。STEEMブロックチェーン安定化に貢献できるよう取り組んでいます。30票の1つを与えてくださると嬉しいです。
Simply go to the Steemit Wallet Witness list, scroll to the bottom, and fill in the form:
@yasu さん、こんにちは。
tomoyan.witnessに投票お願いします👇
https://steemitwallet.com/~witnesses
![](https://steemitimages.com/640x0/https://i.imgur.com/UJIIIWO.png)
SPデレゲーション報酬
Wintessに投票すると毎日の報酬がアップ!詳しくは👇
https://steemit.com/hive-161179/@japansteemit/sp-delegation-reward-update
💡 アップボートガイド 💡
分からない事は何でも質問して下さい🙇
![](https://steemitimages.com/640x0/https://i.imgur.com/jT2loCz.png)
![](https://steemitimages.com/640x0/https://i.imgur.com/Fk8AhOW.png)