Mobot is a Python powered chatbot built on pyAIML. But this project is a Flask App integrating Mobot with Facebook messenger so that it can response at messages from different Facebook pages instantly.
Let's make a Python2 virtual environment. We will play some commands on Terminal.
sudo pip install virtualenv
virtualenv -p /usr/bin/python2.7 env
source env/bin/activate
cd env
git clone git@github.com:maateen/mobot.git
Now we will see a new folder named mobot in the env directory. This is our main project part. Let's dive into it.
cd mobot
mv config.py.sample config.py
Now we have to provide some information in config.py. There is inner documentation there. So I am not writing them again. After that simply run the project.
python run.py
The project will run on http://127.0.0.1:5000/ by default. Hit that address on browser and you will see mobot page.
But you have to deploy it on any server and connect to your facebook page to make it work. I will write more on it soon.