howto create a line bot

By | 2019-09-19

1.go to line website[1],to create account.
Selection_021

2.Click right corner icon in dashboard and then select add new provider.
Selection_023
Or click create new provider of provide list in dashboard.
Selection_022

3.And then step by step to fill in what they want,name..etc.
Selection_015
Double confirm your setting and create.
Selection_016

4.Create your channel and choice what type of your bot.
Selection_017

Fill in what they want,app name,category ..etc.
Selection_018

Confirm you know LINE’s policy.
Selection_019

5.Set your channel.
Selection_020

Issue a access token that will be used later.
Selection_014
And to set your app location of website.
Selection_012
6.Download the simple example from github [2].
Selection_024
Put source code into your website folder which can be lunch by apache,lighttpd or nginx..etc.
Selection_011
Then modify channl access token and secrect of source code.
Selection_025

7.It will work like following:
Selection_007

reference:
1.https://developers.line.biz/en/docs/messaging-api/building-bot/
2.https://github.com/line/line-bot-sdk-php/blob/master/line-bot-sdk-tiny/

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *