Sending a URL using a Facebook messenger from my mobile site

I want to send a link to the Facebook Messenger application from my mobile site in the Chrome browser on my mobile device. I am using a custom URI scheme for facebook messaging fb-messenger: // share. I saw this option at the following link: Custom URI Schemes for Facebook Messenger . I used the full url like: fb-messenger: // share? ShareType = ShareType. regular & share_story_url = I tried several options for sharing, as mentioned in the link above, but nothing works. He tries to open the application and closes.

+4
source share
2 answers

You can do this by adding the following link to your page:

<a href="fb-messenger://share?link=http%3A%2F%2Fwww..."></a>

I do not know what else you can pass, except link, perhaps, the user ID with to(perhaps the same parameters as described in

+7
source

I ran into the same issue and this does not work on ios devices. It works fine on Android devices.

I used this: fb-messenger: // share? link = "+ smsString; (smsString - var)

0
source

All Articles