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 persistent menus)
  • No issues appear in the Bot Framework management console

However, the bot never answers.

Am I doing something wrong, or are bots for Workplace unsupported in Botframework?


回答1:


Yes. Bots for Workplace by Facebook are supported via the Facebook Messenger channel on the Microsoft Bot Framework. To set it up, you need the 3 things in the screenshot above: App ID, App Secret, Access Token.

You also need the page ID. To get this, find the page for your bot by searching for <botName> in the Workplace search. The page ID is in the URL in the format <botName>-NNNNNNNNNNNNNNN.



来源:https://stackoverflow.com/questions/43637134/are-bots-for-workplace-by-facebook-supported-via-the-facebook-channel-on-microso

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!