A simple (dumb?) messenger-bot for the messenger platform in Java.
Uses spring-boot and OkHttp, and absolutely no XML!
Getting the server running locally is as simple as: mvn spring-boot:run
You can verify the service is up by navigating to localhost:8080/bot/v1/health.
To get the service actually working with the messenger platform, you'll need a verification token and a page access key. More details here.
The values are read from the System env, and should be used with the Keys VALIDATION_TOKEN
and ACCESS_TOKEN
respectively.
You can also specify PORT
and the server will try to bind to that port.