facebook-chatbot

Share button in Facebook chatbot in Node.js

北城以北 提交于 2019-12-08 07:00:44
问题 I want to implement share button inside my chatbot. On click of share button the message will get shared with selected contact list. Image FB_ChatBot.png is what I am trying to implement inside my chatbot and Share_Btn_Output This png is output produced by share button clicked. 回答1: It's an late update but will save someone usefull time. With help of below code you can show multiple buttons on facebook chatbot. Technology used for development is node js,botbuilder,luis. var msg = new builder

How to subscribe facebook test pages to facebook apps webhook

橙三吉。 提交于 2019-12-07 23:25:19
问题 I am creating chatbot and want to connect on facebook. I want to test my messenger chatbot in my page, but I must do app review and business verification first and I don't want to do that since I just developed my chatbot (or you can say this is staging environment). I found that we can create test users, test pages, and test apps. I already create them all, but I cannot find a way to subscribe webhook from my test app to my test pages. only real page appear in that select a page box. How to

Facebook Graph API subscribed_apps edge only works with pages I own

亡梦爱人 提交于 2019-12-07 15:37:55
问题 Introduction I have a Facebook APP and it is already published and approved to access the manage_pages and pages_messaging permissions. Facebook Login and Messenger are also installed. I also have a Webhook set and it works well. My objective I would like to make it easy for my users to create and publish a bot within the app, like what Chatfuel does. The user logins in using Facebook, create a new bot, link to a page and automatically the bot is available for use. The user will not be

Share button in Facebook chatbot in Node.js

一笑奈何 提交于 2019-12-06 21:41:20
I want to implement share button inside my chatbot. On click of share button the message will get shared with selected contact list. Image FB_ChatBot.png is what I am trying to implement inside my chatbot and Share_Btn_Output This png is output produced by share button clicked. It's an late update but will save someone usefull time. With help of below code you can show multiple buttons on facebook chatbot. Technology used for development is node js,botbuilder,luis. var msg = new builder.Message(session); msg.sourceEvent({ "facebook": { "attachment": { "type": "template", "payload": { "template

“Get Started” button does not appear in welcome screen for FB Messenger bot

喜你入骨 提交于 2019-12-06 20:36:07
问题 I followed the solution in this thread and it is still not working how to setup "Get started" button in facebook messenger bot and when to send welcome message I tried both graph.facebook.com/v2.6/me/thread_settings?access_token=xxxxx and graph.facebook.com/v2.6/page_id/thread_settings?access_token=xxxxx with the raw body { "setting_type":"call_to_actions", "thread_state":"new_thread", "call_to_actions":[ { "payload":"USER_DEFINED_PAYLOAD" } ] } The response message is like this { "result":

Facebook Graph API subscribed_apps edge only works with pages I own

六眼飞鱼酱① 提交于 2019-12-05 19:37:33
Introduction I have a Facebook APP and it is already published and approved to access the manage_pages and pages_messaging permissions. Facebook Login and Messenger are also installed. I also have a Webhook set and it works well. My objective I would like to make it easy for my users to create and publish a bot within the app, like what Chatfuel does. The user logins in using Facebook, create a new bot, link to a page and automatically the bot is available for use. The user will not be involved in manual configuration of the bot publishing process but rather simply pointing the page they would

how to setup “Get started” button in facebook messenger bot and when to send welcome message

我的未来我决定 提交于 2019-12-05 18:41:09
问题 "Get Started" tried sending request to this url https://graph.facebook.com/v2.6/PAGE_ID/thread_settings?access_token=PAGE_ACCESS_TOKEN But didn't work. 回答1: Make a POST call to API JSON body as below. curl -X POST -H "Content-Type: application/json" -d '{ "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=PAGE_ACCESS_TOKEN" Ref: Facebook messenger get

“Get Started” button does not appear in welcome screen for FB Messenger bot

自古美人都是妖i 提交于 2019-12-05 01:21:58
I followed the solution in this thread and it is still not working how to setup "Get started" button in facebook messenger bot and when to send welcome message I tried both graph.facebook.com/v2.6/me/thread_settings?access_token=xxxxx and graph.facebook.com/v2.6/page_id/thread_settings?access_token=xxxxx with the raw body { "setting_type":"call_to_actions", "thread_state":"new_thread", "call_to_actions":[ { "payload":"USER_DEFINED_PAYLOAD" } ] } The response message is like this { "result": "Successfully added new_thread's CTAs" } But the message in welcoming screen just keep displaying "Type

Messenger Bot in PHP: No Response Back

半世苍凉 提交于 2019-12-04 15:28:44
I am trying to build a test messenger bot in PHP. My web hook gets setup up perfectly and even the page subscription is done correctly. However, my bot does not respond to any text in messenger. I have tried to change app IDs, page IDs, just to make sure if there are issues with any of that. I have also tried various methods including basic curl as outlined here: Facebook Chat bot (PHP webhook) sending multiple replies and tried 2 different php libraries: https://github.com/Fritak/messenger-platform https://github.com/pimax/fb-messenger-php I get no PHP errors, the challenge is still

how to setup “Get started” button in facebook messenger bot and when to send welcome message

寵の児 提交于 2019-12-04 03:54:46
"Get Started" tried sending request to this url https://graph.facebook.com/v2.6/PAGE_ID/thread_settings?access_token=PAGE_ACCESS_TOKEN But didn't work. Make a POST call to API JSON body as below. curl -X POST -H "Content-Type: application/json" -d '{ "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=PAGE_ACCESS_TOKEN" Ref: Facebook messenger get started button Postman screentshot Neha Creado The current format is, https://graph.facebook.com/v2.6/me