Create a custom entry point (link) for Messenger bonuses (e.g. Deep Linking)

In facebook chatbots, if you look at this documentation on entry points , you will see that there is one of the options: Linking ads, where you can identify your user in the bot came from which of your Facebook ads.

In my application, it is very important to know where my user came from, so I need to create unique links that fall into my bot with additional information, for example. unique identifier to help me solve the problem.

My question is: how can I do this?

It may not be possible to do this directly at the moment, but if someone re-finds out what additional parameters Facebook is adding, then the URL of the ad they recognize is also useful.

A telegram friend of this function is called: Deep Link

+4
source share
1 answer

A new feature has recently appeared for the Messenger Platform that can serve the purpose. It is called Referral in m.me Links.

info 1

Parameter passing

The m.me link with the parameter added is as follows: http://m.me/mybot?ref=myparam

The value of the ref parameter will be transmitted to the server via webhook.

info 2

Callback

, m.me param , ( . " " ).

, messaging_referral webhook .

m.me : http://m.me/mybot?ref=myparam. ref webhook.

+3

Source: https://habr.com/ru/post/1654992/


All Articles