m.me is a URL service provided by Meta that redirects people to a person, page, or conversation in Messenger. You can use them on your website, email newsletters, and more.m.me link is as follows where PAGE-NAME is the Facebook Page linked to your messaging app.http://m.me/PAGE-NAME
m.me link, they will be redirected to either a new conversation with your business or an exist conversation if the person has messaged your business in the past. A default message will appear in the conversation stating: “You have entered this conversation by following a link. We’ve let PAGE-NAME know you’re here.”text parameter to include a customized message as well.http://m.me/PAGE-NAME?text=Hello%20and%20Welcome
messaging_postbacks webhook notification will be sent to your webhooks server. As part of this webhook notification the postback object will contain a referral object with the ref parameter.m.me link and a conversation already exists between your business and the person, the link will take them to the existing conversation. This action will reset the 24-hour standard messaging window, allowing your messaging app to reply to the person and a messaging_referrals webhook notification will be sent to your webhooks server. As part of this webhook notification a ref parameter from the m.me link will be included.ref parameter that, when a person clicks on the link, provides your business with more context about the conversation such as a link on your website versus a link in a store. These types of links can also direct the person to specific content or features available within your Messenger experience.http://m.me/PAGE-NAME?ref=REF-PARAMETER-INFORMATION
m.me links with ref parameters can be embedded into QR Codes. QR compatible codes can be scanned with a phone’s native camera. When scanned they will open the Messenger app and the message conversation with your business.http://m.me/OriginalCoastClothing?ref=summer_coupon encoded that will trigger an example flow about a discount coupon on Messenger.
ref param as part of the messaging_postbacks webhook notification.{
"sender":{
"id":"PSID"
},
"recipient":{
"id":"PAGE-ID"
},
"timestamp":1458692752478,
"postback":{
"payload":"POSTBACK-PAYLOAD-YOU-CONFIGURED",
"referral": {
"ref": "REF-PARAMETER-INFORMATION",
"source": "SHORTLINK",
"type": "OPEN_THREAD",
}
}
}
messaging_referrals webhook notification will be sent.{
"sender":{
"id":"PSID"
},
"recipient":{
"id":"PAGE-ID"
},
"timestamp":1458692752478,
"referral": {
"ref": "REF-PARAMETER-INFORMATION",
"source": "SHORTLINK",
"type": "OPEN_THREAD",
}
}
messaging_postbacks and messaging_referrals webhooks fieldsm.me/rn URL allows you to create a recurring notification opt in request with an m.me link. The format for an m.me/rn link must include the topic for the recurring notification. You can set the cadence for the recurring notification otherwise it will default to daily.http://m.me/rn/PAGE-NAME?topic=TOPIC&cadence=MESSAGE-FREQUENCY
m.me/rn links to work properly. The person who clicked on your link will be redirect to your base m.me URL, http://m.me/PAGE-NAME URLhttps://m.me/rn/OriginalCoastClothing?topic=weekly%20deals&cadence=weekly
m.me/rn URL with a new topic, you must first register the new topic.m.me/rn URL and people have opted in to receive recurring notifications, you do not need to register the topic again.curl -X POST -H "Content-Type: application/json" -d '{ "recipient":{ "id":"PSID" }, "message":{ "attachment":{ "type":"template", "payload":{ "template_type":"notification_messages", "title":"TITLE", "payload": "Registering a new topic: TOPIC-NAME", "notification_messages_frequency": MESSAGE-FREQUENCY, } } } }' "https://graph.facebook.com/LATEST-API-VERSION/PAGE-ID/messages?access_token=PAGE-ACCESS-TOKEN"
{ "recipient": { "id":"PSID", "message_id":"MESSAGE-ID", }
m.me/rn link with a topic that has not been registered will be redirected to your base recurring notification URL, http://m.me/rn/PAGE-NAME URL.curl -X POST "https://graph.facebook.com/LATEST-API-VERSION/PAGE-ID/notification_messages_dev_support ?recipient={ "notification_messages_token": "NOTIFICATION-MESSAGES-TOKEN" } &developer_action=ENABLE_FOLLOWUP_MESSAGE &access_token=PAGE-ACCESS-TOKEN"
{ "success": true }
messaging_optins Webhook Notification{ "sender": { "id": "PSID", }, "recipient": { "id": "PAGE-ID", }, "timestamp": "TIMESTAMP", "optin": { "type": "notification_messages", "title": "TITLE-FOR-NOTIFICATION-MESSAGE", "ref": "REF-PARAMETER-INFORMATION", "payload": "", "source":"SHORTLINK" "notification_messages_token": "NOTIFICATION-MESSAGES-TOKEN", "notification_messages_topic": "RECURRING-NOTIFICATION-TOPIC", "notification_messages_frequency": "MESSAGE-FREQUENCY", "notification_messages_timezone": "TIMEZONE-ID", "token_expiry_timestamp": "TIMESTAMP", "user_token_status": "TOKEN-STATUS" } }
m.me Reference| Parameter Name | Descripion |
|---|---|
cadenceenum { daily, monthly, weekly } | The message frequency for the m.me/rn link opt-in request. Defaults to daily. |
ref string | Context about the conversation, such as a link on your website versus a link in a store, that is delivered in a messaging_referrals webhook notification. This parameter must be URL-encoded when used on m.me links. Length for this value can not exceeed 2,083 characters |
textstring | The customized message sent by you when a person clicks your m.me link to enter a conversation. |
topicstring | Required. The topic for the m.me/rn link opt in request, such as weekly promotions or upcoming releases. This parameter must be URL-encoded when used on m.me links. Alphanumeric, no special characters, URL encoded. |
messaging_optins referencemessaging_postbacks reference for more information about this webhook’s fieldsmessaging_referrals reference for more information about this webhook’s fields