Messenger ref参数未传递到dialogflow [英] Messenger ref parameter is not passed to dialogflow

查看:74
本文介绍了Messenger ref参数未传递到dialogflow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试连接Messenger bot和dialogflow。
的想法是-单击按钮时,服务会将您重定向到我链接
(例如: http://m.me/2010070995927131?ref=initial_message_with_param
,然后dialoglflow会收到initial_message_with_param作为消息,并且fullfilment可以生成响应。

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.

发送消息完全有效,但不幸的是,ref param无效。
您是否知道为什么在Dialogflow端会忽略ref参数?

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

推荐答案

几个月前,但我只是

在Facebook开发人员的Messaging> Webhook中的编辑页面订阅字段下,您需要启用 messaging_referrals 来接收推荐有效负载调用。

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

这篇关于Messenger ref参数未传递到dialogflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆