howdyai / botkit

Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
MIT License
11.46k stars 2.28k forks source link

Is facebook message_referrals via a me link still supported? #2169

Closed pancake-boy closed 2 years ago

pancake-boy commented 3 years ago

What are you trying to achieve or the steps to reproduce?

  1. Add a me link http://m.me/xxx?ref=abc to a facebook post
  2. Enabled webhook event subscription for messaging_referrals
  3. click on the link
controller.on('facebook_referral', function(bot, message) {
 console.log(message.referral)
})
  1. this code never triggers

Additional Questions

Can i still set the menu via the api?

Context:

"botbuilder-adapter-facebook": "^1.0.11", "botkit": "^4.10.0",

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

benbrown commented 2 years ago

@pancake-boy Sorry for the extremely late response.

If Facebook still sends this value, it should be available in the message.channelData.referral field.

Botkit should still emit the facebook_referral event.