Try line-bot-sdk with Python
$ git clone https://github.com/tayutaedomo/line-bot-python
$ cd line-bot-python
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
You have to set the following.
$ export LINE_CHANNEL_ACCESS_TOKEN=<YOUR_CHANNEL_ACCESS_TOKEN>
$ export LINE_CHANNEL_SECRET=<YOUR_CHANNEL_SECRET>
You should set the appropriate ENV of config.
$ export APP_SETTINGS="config.DevelopmentConfig"
# or
$ export APP_SETTINGS=config.StagingConfig
# or
$ export APP_SETTINGS=config.ProductionConfig
$ cd line-bot-python
$ python app.py
$ open "http://127.0.0.1:5000/"