The world's most easy-to-understand explanation of how to make a LINE BOT (1) [Account preparation]

Introduction

Messaging API (commonly known as LINE BOT) is a service provided by Line. The goal is to use this Messaging API to create a LINE BOT that can automatically interact with users.

The link function by API of Push and Reply is provided, and Push can use it for a fee.

There are various pricing systems, but we recommend using the Developer Trial first.

スクリーンショット 2016-11-08 19.51.56.png

With the Developer Trial, you're limited to 50 friends, but you can try Push and Reply for free.

What you need to create a LINE BOT

Create a LINE Business account

Start by assuming that you already have a LINE personal account. Go to LINE BUSINESS CENTER and start "Developer Trial" to create an account.

スクリーンショット 2016-11-08 19.59.40.png

After authenticating your LINE personal account, you will be asked for an email address to create an account, so enter the email address you want to register and register.

スクリーンショット 2016-11-08 19.58.16.png

The LINE BUSINESS CENTER will immediately send you an authentication email to your registration email address, so you will be redirected to the registration URL.

4bbe70b5-5e51-5667-7321-73e25ceb9f6a.png

Profile information is required for the registration URL, so enter it. At this point, you do not need to register your credit card, just information such as your name, phone number, and address.

スクリーンショット 2016-11-08 20.08.35.png

After registration is complete, you can move to the account list.

スクリーンショット 2016-11-08 20.10.12.png

Your LINE BUSINESS account is now ready.

Register with Messaging API Developer Trial

Go to the "Messaging API" link in your account list and go to "Start Developer Trial" again.

スクリーンショット 2016-11-08 19.59.40.png

If you remain logged in after registration, the screen will change to the one below.

スクリーンショット 2016-11-08 20.14.03.png

Enter the required information to apply for the Messaging API.

スクリーンショット 2016-11-08 20.16.00.png

You are now ready to use the Messaging API.

LINE @ MANAGER settings

Once you have applied for the Messaging API, you will be able to access LINE @ MANAGER.

スクリーンショット 2016-11-08 20.17.09.png

Click the "Use API" button to start using it.

スクリーンショット 2016-11-08 20.19.18.png

When I started using it, the status was switched to in use.

Next, go to the "Set up with LINE Developers" link.

スクリーンショット 2016-11-08 20.23.21.png

After accessing, the terms of use will be displayed, so I agree if you like.

スクリーンショット 2016-11-08 20.23.49.png

Below this image is the Webhook URL and Channel Acess Token, so next time we'll set this up.

Next commentary article

The world's easiest way to explain how to make LINE BOT (2) [Preparing a bot application in a local environment with Python Django]

bonus

We are waiting for you to follow us! Qiita: Carat Yoshizaki twitter:@carat_yoshizaki Blog: Blog of Kikagaku representative Homepage: Kikagaku Co., Ltd.

Tutor service "Kikagaku" where you can learn machine learning one-on-one Please feel free to contact us if you are interested in "Kikagaku" where you can learn "Mathematics-> Programming-> Web Applications" at once.

Recommended Posts

The world's most easy-to-understand explanation of how to make a LINE BOT (1) [Account preparation]
The world's most easy-to-understand explanation of how to make LINE BOT (3) [Linkage with server with Git]
How to make an interactive LINE BOT 004 (answer the closing date of a listed company)
How to make a slack bot
Explaining how to make LINE BOT in the world's easiest way (2) [Preparing a bot application in a local environment with Django in Python]
How to put a line number at the beginning of a CSV file
How to make a Raspberry Pi that speaks the tweets of the specified user
Basics of PyTorch (2) -How to make a neural network-
How to hit the document of Magic Function (Line Magic)
Make a LINE BOT (chat)
How to make a Cisco Webex Teams BOT with Flask
[Ubuntu] How to delete the entire contents of a directory
[Python] How to make a list of character strings character by character
How to find the scaling factor of a biorthogonal wavelet
How to connect the contents of a list into a string
How to make a Japanese-English translation
How to determine the existence of a selenium element in Python
Make the theme of Pythonista 3 like Monokai (how to make your own theme)
How to make a crawler --Advanced
How to make a recursive function
How to check the memory size of a dictionary in Python
How to find the memory address of a Pandas dataframe value
How to extract the desired character string from a line 4 commands
How to make a deadman's switch
How to make a crawler --Basic
[Twitter] I want to make the downloaded past tweets (of my account) into a beautiful CSV
[Python] How to make a matrix of repeating patterns (repmat / tile)
Supplement to the explanation of vscode
[NNabla] How to remove the middle tier of a pre-built network
The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (1)
Tweet in Chama Slack Bot ~ How to make a Slack Bot using AWS Lambda ~
The story of making a university 100 yen breakfast LINE bot with Python
How to make an artificial intelligence LINE bot with Flask + LINE Messaging API
Python beginners decided to make a LINE bot with Flask (Flask rough commentary)
How to make a rock-paper-scissors bot that can be easily moved (commentary)
[Introduction to Python] How to sort the contents of a list efficiently with list sort
I tried to make "Sakurai-san" a LINE BOT with API Gateway + Lambda
[NNabla] How to add a quantization layer to the middle layer of a trained model
How to play a video while watching the number of frames (Mac)
[Python] How to make a class iterable
How to check the version of Django
Try to make a kernel of Jupyter
How to make a Backtrader custom indicator
How to make a Pelican site map
The story of creating a store search BOT (AI LINE BOT) for Go To EAT in Chiba Prefecture (2) [Overview]
Hanashi who became a read through BOT when trying to make a morphological analysis BOT using the popular LINE BOT API
Various ways to read the last line of a csv file in Python
How to pass the execution result of a shell command in a list in Python
How to make VS Code aware of the venv environment and its benefits
How to mention a user group in slack notification, how to check the id of the user group
[Circuit x Python] How to find the transfer function of a circuit using Lcapy
[NNabla] How to get the output (variable) of the middle layer of a pre-built network
How to count the number of elements in Django and output to a template
How to access the contents of a Linux disk on a Mac (but read-only)
[python] How to sort by the Nth Mth element of a multidimensional array
Creating a LINE BOT to notify you of additional AtCoder contests using AWS
A memorandum of how to execute the! Sudo magic command in Jupyter Notebook
[Numpy, scipy] How to calculate the square root of a semi-fixed definite matrix
The story of making a Line Bot that tells us the schedule of competitive programming
[LINE WORKS version Trello Bot] How to create a private talk room including a talk bot
How to make the font width of jupyter notebook put in pyenv equal width