This project is an simple example of how to create Facebook Chatbot using Dialogflow. The Dialogflow Facebook integration allows you to easily create a Facebook Messenger bot with natural language understanding, based on the Dialogflow technology.
- Install fbchat
pip install fbchat
- Install apiai
pip install apiai
-
Download above python repository.
-
Create your DialogFlow Project
-
Put your credentials in app.py
self.CLIENT_ACCESS_TOKEN = "<your client access token>"
# Create an object of our class, enter your email and password for facebook.
client = Jarvis("<your fb email address>", "<your fb password>")
- Run script
python app.py