问题
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