botframeworkfacebook-messengerfacebook-workplace

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


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:

However, the bot never answers.

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


Solution

  • 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.