LINE-Bot [0] in Python

I made LINE-Bot with Python.

Previously, LINE was looking for a trial version for the first 10,000 people only, but the API was officially announced the other day. See below for an overview. https://developers.line.me/messaging-api/overview

https is also a workaround for the problem

This is messaging-api, but you need to build a server with https. The solution is to use the local tunnel and temporarily expose the local environment to the outside world. I don't know why, but since it can be accessed not only from http but also from https, you can build https by creating an API that accepts LINE-API processing at localhost: 3000 and publishing it on the local tunnel. ..

problem

However, this is not a fundamental solution, and unintended things will happen to the program. One example is that not all requests can be reliably received. Let's use it for development only.

What was actually completed.

Currently, we are not in a situation where it can be operated 24 hours a day, so only the video will be released. https://youtu.be/ASvFyOUHl4A

Recommended Posts

LINE-Bot [0] in Python
Python in optimization
CURL in python
Metaprogramming in Python
Python 3.3 in Anaconda
Geocoding in python
Meta-analysis in Python
Unittest in python
Linebot creation & file sharing in Python
Epoch in Python
Discord in Python
Sudoku in Python
DCI in Python
quicksort in python
nCr in python
N-Gram in Python
Programming in python
Plink in Python
Constant in python
Lifegame in Python.
FizzBuzz in Python
StepAIC in Python
N-gram in python
Csv in python
Disassemble in Python
Reflection in Python
Constant in python
nCr in Python.
format in python
Scons in Python3
Puyo Puyo in python
python in virtualenv
PPAP in Python
Quad-tree in Python
Reflection in Python
Chemistry in Python
Hashable in python
DirectLiNGAM in Python
LiNGAM in Python
Flatten in python
flatten in python
Daily AtCoder # 36 in Python
Clustering text in Python
Implement Enigma in python
Daily AtCoder # 32 in Python
Daily AtCoder # 6 in Python
Daily AtCoder # 18 in Python
Edit fonts in Python
Singleton pattern in Python
File operations in Python
Read DXF in python
Daily AtCoder # 53 in Python
Key input in Python
Use config.ini in Python
Solve ABC168D in Python
Daily AtCoder # 7 in Python
LU decomposition in Python
One liner in Python
Simple gRPC in Python
Daily AtCoder # 24 in Python
Solve ABC167-D in Python