How does Facebook Messenger connect with Wit.ai Bot Engine?

后端 未结 3 1349
谎友^
谎友^ 2021-02-03 13:37

In Facebook\'s documentation they refer to wit.ai Bot Engine, but I can\'t find anywhere online where its explained how to connect the Story that you build in Wit with your Face

3条回答
  •  不要未来只要你来
    2021-02-03 13:57

    You can integrate Wit to any messaging API. Using the Messenger Send/Receive API for example, you will be able to get and receive messages from/to Messenger users. Wit.ai can then parse the messages and predict the next response.

    Here is an example in Node js: https://github.com/wit-ai/node-wit/blob/master/examples/messenger.js

提交回复
热议问题