Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Support referral params sent via postback webhook (Facebook) #552

Closed
johngriffin opened this issue Dec 13, 2016 · 2 comments
Closed

Support referral params sent via postback webhook (Facebook) #552

johngriffin opened this issue Dec 13, 2016 · 2 comments

Comments

@johngriffin
Copy link
Contributor

Issue #518 added support for referral params when they are received through the messaging_referral webhook. However, if you have get started screen configured and the user has had no previous communication with your bot then the referral params will be sent to you along with the postback when the user clicks the "Get Started" button:

https://developers.facebook.com/docs/messenger-platform/referral-params

This issue is for pushing the postback referral param through to the message that botkit exposes.

@johngriffin johngriffin changed the title Support referral params when you have a Get Started screen (Facebook) Support referral params sent via postback webhook (Facebook) Dec 13, 2016
benbrown pushed a commit that referenced this issue Dec 19, 2016
Re #552 - add support for referral param via postbacks (Facebook)
@benbrown
Copy link
Contributor

Thanks!

@yestouscool
Copy link

Hello @johngriffin , I am a little bit confuse on which event will be triggered when a new user click your m.me link and which one will be triggered when an old user clicks ?
Inside Botkit 0.7.0 that I am using, I have facebook_referral and facebook_postback event that I am handling.

And also there is this problem when a user shared an object with postback button to a new user. What happens is the Get Started Screen pops up and from there the chatbot does not reply with the action corresponding to the payload of that postback button clicked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants