facebook-messenger

bot framework facebook multiple pages

淺唱寂寞╮ 提交于 2019-12-10 14:48:43
问题 llhi, I have configured Facebook connection thru Bot Framework, which has requested to configure one single Facebook page, app, and then token. Is it possible to indicate how to manage several Facebook pages thru the same Microsoft Bot Framework? If not possible, what are the available options? Thx for your feedback, Regards 回答1: If I understand your question correctly, you would like a bot that works across several Facebook pages? Do to this you'll need to create multiple registrations in

How to fix CSP issues with facebook messenger-checkbox

天大地大妈咪最大 提交于 2019-12-10 14:33:38
问题 I'm trying to make facebook messenger checkbox work, I've added the following code to my html window.fbAsyncInit = function() { FB.init({ appId: "{{ fb_app_id }}", xfbml: true, version: "v2.6" }); FB.Event.subscribe('messenger_checkbox', function(e) { console.log("messenger_checkbox event"); console.log(e); if (e.event == 'rendered') { console.log("Plugin was rendered"); } else if (e.event == 'checkbox') { var checkboxState = e.state; console.log("Checkbox state: " + checkboxState); } else if

Domains are not being added, Whitelist domains facebook messenger extension

社会主义新天地 提交于 2019-12-08 18:57:26
I've been trying to whitelist my domains following the instruction that is given by facebook but nothing is working. I first tried with curl, the response is {result:"success"} but when I try to list the domains that are whitelisted I am getting {data:[]} Then I tried using node request module as follow: request.post("https://graph.facebook.com/v2.6/me/messenger_profile?access_token=sfdlksdfu79r9429049824982342348sjdfsf", { "setting_type": "domain_whitelisting", "whitelisted_domains": ["https://mydomainw.com", "https://mydomainw.com/profile", "https://sfujyx.com/ofr", "mydomain1.com",

Facebook Messenger Platform Sends Bot welcome message on desktop only

纵饮孤独 提交于 2019-12-08 08:09:58
问题 I have my bot working well but the welcome message option "Get Started" only appears on desktop, there is no option appearing in the iOS messenger version and no welcome message is sent. Anyone got the welcome message working in Messenger on iOS. Update: it seems to be intermittent. It's appeared once on my iOS device inside the messenger app but I can't repeat it. 回答1: As per the documentation of Facebook messenger platform here, the welcome screen appears only once for a user when he/she

Domains are not being added, Whitelist domains facebook messenger extension

試著忘記壹切 提交于 2019-12-08 06:54:33
问题 I've been trying to whitelist my domains following the instruction that is given by facebook but nothing is working. I first tried with curl, the response is {result:"success"} but when I try to list the domains that are whitelisted I am getting {data:[]} Then I tried using node request module as follow: request.post("https://graph.facebook.com/v2.6/me/messenger_profile?access_token=sfdlksdfu79r9429049824982342348sjdfsf", { "setting_type": "domain_whitelisting", "whitelisted_domains": ["https

Are bots for Workplace by Facebook supported via the Facebook channel on Microsoft Bot Framework?

最后都变了- 提交于 2019-12-08 01:41:11
问题 I am trying to connect my bot on the Microsoft Bot Framework to a Work Chat Bot on Workplace by Facebook. Everything appears to work the same as the regular Facebook Messenger channel: I can validate my Facebook Messenger credentials in Botframework (page id, app id, app secret, page access token) The Botframework webhook works in my Workplace custom integration settings I can find my bot in Work Chat and send it messages All the regular Messenger API calls work normally (e.g. setting

How can a bot receive a voice file from Facebook Messenger (MP4) and convert it to a format that is recognized by speech engines like Bing or Google?

坚强是说给别人听的谎言 提交于 2019-12-08 01:28:39
问题 I'm trying to make a bot for Facebook Messenger using Microsoft's Bot Framework that will do this: Get a user's voice message sent via Facebook Messenger Convert speech to text Do something with it There's no problem with getting the voice message from Messenger (the URL can be extracted from the message the bot receives), and there's also no problem with converting an audio file to speech (using Bing Speech API or Google's similar API). However, these APIs require PCM (WAV) files, while

Facebook Messenger Bot, test users, has anyone got this working?

旧时模样 提交于 2019-12-07 05:47:40
问题 We've created an FB messenger bot and can test it fine with real FB accounts. But we would like to create 2000 test users via the developer console/graph api. The problem I've come across is that, test users (created via the API) can't see public pages. So I logged in as the test users, created a page, and great! test users can see test pages created by other test users. But now I can't link my bot to that page. Has anyone managed to get this working? We have made a bot for a large corp and

“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 Messenger Platform Sends Bot welcome message on desktop only

微笑、不失礼 提交于 2019-12-06 17:41:25
I have my bot working well but the welcome message option "Get Started" only appears on desktop, there is no option appearing in the iOS messenger version and no welcome message is sent. Anyone got the welcome message working in Messenger on iOS. Update: it seems to be intermittent. It's appeared once on my iOS device inside the messenger app but I can't repeat it. As per the documentation of Facebook messenger platform here , the welcome screen appears only once for a user when he/she starts the conversation. It will not appear for the same user ever again on mobile. From the docs: The