facebook chatbot with google spreadsheets and some filter with buttons into facebookchat
a special thanks to christopher moura: https://github.com/ccmoura for help me.
You will need this dependences: NODEJS, EXPRESS, BODY-PARSER, GOOGLE-SPREADSHEETS
chatbot test here: https://www.facebook.com/fixxerServices/this is only a test code, for help some people to connect and filter the spreadsheets into messenger
to add a start message, you can use this into you console.
"greeting": [
{
"locale":"default",
"text":"Welcome {{user_first_name}} to this page"
}
}' "https://graph.facebook.com/v2.6/me/messenger_profile?access_token=<YOU PAGE ACCESS TOKEN>"
AND THIS:
curl -X POST -H "Content-Type: application/json" -d '{
"get_started":{
"payload":"Start"
}
}' "https://graph.facebook.com/v2.6/me/messenger_profile?access_token=<YOU PAGE ACCESS TOKEN>"