Can anyone tell me how to create a simple chatbot for FB messenger using Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone tell me how to create a simple chatbot for FB messenger using Python?

I'm looking forward to create a simple chatbot that would automatically reply against any new message in my Facebook messenger. I want to create it using Python only. I already know that I need to use fbchat api for it. I need more knowledge like how to make my py script answer most common questions and statements. Note : I have zero knowledge on NLP.

16th Sep 2017, 12:39 PM
Goutam Bose
Goutam Bose - avatar
1 Answer
+ 2
"I'm looking forward to create a simple chatbot" - How simple can/should it be ? If you only want to answer on certain key words (eg. "name", "weather") use regulare expressions and write the answers to the matchin keywords. If the bot should answer on its own you will have to train it using NeuralNetworks and Language processing. This although is pretty advanced and would take a lot of training data and knowledge.
17th Sep 2017, 8:34 AM
Chrizzhigh
Chrizzhigh - avatar