Can I start the conversation with messenger bot? (FB + BotFramework)

白昼怎懂夜的黑 提交于 2019-12-24 06:48:11

问题


My bot is running fine when the user starts the conversation. But what I want to know is if I can start the conversation with the user instead user with it.

Based on the Facebook docs, I think I can do this with FB directly once I got the page scoped usedId -- e.g. through using the 'message us' plugin on our page

Now though - I use the MS botframework and wonder how to do it using that framework or if I just have to 'circumvent' the framework and do a manual POST for the initial messsage


K48's comment is the answer for me!


回答1:


I'm answer as I did with your GitHub issue:

On Facebook messenger I resulted in using the 'Get Started Button' which you can then use to start a dialog using the postback. I also use this to gather the users information before starting a conversation with them ;).

Please see issue #1238 on GitHub to see my answer to another query which shows you how.



来源:https://stackoverflow.com/questions/39524913/can-i-start-the-conversation-with-messenger-bot-fb-botframework

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