5
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

エムスリーAdvent Calendar 2016

Day 21

Facebook Messenger chat bot on AWS Lambda

Last updated at Posted at 2016-12-21

Facebook and Line both announced their own messenger bot platform. Tried to develop a sample bot on AWS Lambda.

Network diagram
Screenshot from 2016-12-22 00:06:10.png

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.

recipe-bot.PNG

Reference
https://medium.com/@igorkhomenko/run-facebook-messenger-chat-bot-on-aws-lambda-2fa800a67d76#.s01lov2ib

5
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?