zendesk / sunshine-conversations-ruby

Smooch API Library for Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I access the ref value in messenger?

angelacode opened this issue · comments

In messenger, I can do m.me/bot?ref=hello

I would like to access that ref value. How do I do that?

Hi, following up to see how to access the ref info that messenger makes available, thanks!

I don't think we currently expose that information. I'll file an improvement request in our backlog

Hi, I saw a product update which says that the ref is associated with a conversation:start.

However, after creating a webhook for it, I still don't see the event hit my webhook.

That webhook event currently only works for referrals from Facebook ads, support for m.me links with a referral param is coming up soon. I'll update this issue when it's live

Oh I thought they were the same, thanks!

Would conversation:start Post to the web hook? Didn't seem like anything but maybe a HEAD request came through.

We've updated that webhook to now trigger on m.me links.
Give it a shot!

wow this was faster than I expected...I built my own but would prefer to use the smooch API....I tested it and I do receive the triggered request! Thanks!