Skip to content

ABinfinity/Python-fb-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-fb-chatbot

Facebook chatbot in python using flask

step 1: make a folder and download these files

step 2: type virtualenv myenv in cmd in the bot directory

step 3: type myenv\Scripts\activate to activate virtual env

step 4:(myenv) C:\Users\Abinfinity\Desktop\FB_chat>curl -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=" YOUR ACCESS TOKEN"

step 5: type python chat.py

step 6: open ngrok and type ngrok http 5000

check for the following things if error occurs:

  • curl cmd

  • then python chat.py

  • access token should be latest

  • subscription key in curl should be latest

  • ngrok address

  • check luis

for mysql connection, enter without quotes:

  • mysql -u "username" -h "hosturl" -u
    • then enter password
  • or use connection.py in repo.

About

Facebook chatbot in python using flask

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages