Facebook and Line both announced their own messenger bot platform. Tried to develop a sample bot on AWS Lambda.
Took some time to get the HTTP request passed from AWS API Gateway to AWS Lambda function. Choose to do it in Node.js as I found an example online in medium blog.
Developed a simple bot that spill out the suggested recipe if you send him the ingredients.
For example, you send "Tomato egg" to the bot, it will response with recipe link and photo.
Will publish the source code soon when I have time.
Run Facebook Messenger Chat Bot on AWS Lambda (Medium.com)