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

Add support for Facebook messaging_referral - fixes #518 #519

Merged
merged 1 commit into from
Nov 29, 2016

Conversation

johngriffin
Copy link
Contributor

  • Add to Facebook readme.

  • Add code to /lib/Facebook.js to recognise the messaging_referral webhook and create a corresponding event in botkit, to be used:

controller.on('facebook_referral', function(bot, message) {
   console.log('the referral code is' + message.referral.ref)
});

@benbrown benbrown merged commit 020a8fd into howdyai:master Nov 29, 2016
@benbrown
Copy link
Contributor

Thanks @johngriffin!

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

Successfully merging this pull request may close these issues.

2 participants