Here I'll show you how to build your own Line Bot(connect to chatGPT)
with java spring boot just follow the steps below
| Usage | Version |
|---|---|
| Spring boot | 2.6.4 |
| JDK | 1.8 |
| ngrok | xxx |
| MySQL | xxx |
clone my repository to your local with git :)
https://github.com/macconnn/javaLineBot.git
Basic Setting
Channel secret
Your user ID
Masseging API
Bot basic ID
Channel access token (press issue button)
chatGPT secret key
The secret key just only show once

Use ngrok can let LineBot connect to your own server
listening to 8080 port (server default port)
ngrok http 8080





