-
The webhooks for FB Messenger bot is defined using NodeJS [index.js
-
FB Page access token is defined in Heroku [https://dashboard.heroku.com/apps/socializevirtualassistant/settings]
"setting_type":"call_to_actions",
"thread_state":"new_thread",
"call_to_actions":[
{
"payload":"USER_DEFINED_PAYLOAD"
}
]
}' "https://graph.facebook.com/v2.6/me/thread_settings?access_token=ACCESS_TOKEN”