Messenger ref parameter is not passed to dialogflow

て烟熏妆下的殇ゞ 提交于 2019-12-11 15:54:24

问题


I'm trying to connect messenger bot and dialogflow. The idea is - when you click on the button, service is redirecting you to the me link (example: http://m.me/2010070995927131?ref=initial_message_with_param) then dialoglflow receives initial_message_with_param as message and fullfilment can generate the response.

Sending messages works at all but unfortunately, ref param doesn't. Do you have any ideas why ref param is ignored on Dialogflow side?


回答1:


Been few months, but i just came across here.

Under the "Edit Page Subscription Fields" in Messaging > Webhook in Facebook developers, you need to enable messaging_referrals to receive referral payload calls.



来源:https://stackoverflow.com/questions/50137302/messenger-ref-parameter-is-not-passed-to-dialogflow

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