Help us understand the problem. What is going on with this article?

LINEbotを作成する流れ[備忘録]

参考にさせて頂いた記事
https://qiita.com/at_1016/items/9f97dc1c561182c18182

必要な事

  • LINE messaging APIに利用登録をする
  • Messaging API SDK for PHPを利用しつつコーディングをする
  • Herokuにデプロイする
  • LINEのコンソールでWebhook設定をする

LINE messaging APIの登録

https://developers.line.biz/ja/services/messaging-api/
開発者登録・プロバイダ作成・チャネル作成をする

Messaging API SDK for PHPをインストールする

ここにPHPを書くのだが、この時にchannel access tokenchannel secretを書き込む

Herokuでアプリサーバーを作る

GUIでも出来るし、コマンドラインからでも良い

Herokuへのデプロイ方法

heroku git:remote -a Heroku上のapp名
これを行うと、自分がいるディレクトリ内のgitの情報がheroku上に登録される

heroku apps:info
フォルダのgitと繋がっているherokuのアプリ情報が参照出来る

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした