Get Messenger Webhook Referral Ref Value - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
👋 Introducing the Rasa Playground
Get Messenger Webhook Referral Ref Value
post by jovenntann on Sep 24, 2019
How can I get referral ref value from facebook post webhook inside RASA actions and store it in slots?
{
"object": "page",
"entry": [\
{\
"id": "307222070135630",\
"time": 1569345841955,\
"messaging": [\
{\
"sender": {\
"id": "2233033630067080"\
},\
"recipient": {\
"id": "307222070135630"\
},\
"timestamp": 1569345841730,\
"postback": {\
"title": "Get Started",\
"payload": "WELCOME_MESSAGE",\
"referral": {\
"source": "SHORTLINK",\
"type": "OPEN_THREAD",\
"ref": "12345678"\
}\
}\
}\
]\
}\
]
}
post by jovenntann on Sep 24, 2019
Got it. I think I just need to modify this file /Users/me/anaconda/envs/BotDev/lib/python3.6/site-packages/rasa/core/channels/facebook.py