Sending URL using Facebook messenger from my Mobile Website

Manik Mittal picture Manik Mittal · Apr 6, 2016 · Viewed 9.3k times · Source

I am looking to send some link over Facebook Messenger app from my mobile website on Chrome Browser on my mobile. I am using the facebook messenger's custom URI Scheme fb-messenger://share. I saw this option on the the following link: Custom URI Schemes for the Facebook Messenger I used the full url as: fb-messenger://share?ShareType=ShareType.regular&share_story_url= I tried multiple options for share, as mentiond in the link above, but nothing works. It tries to open the app and closes.

Answer

Guillaume picture Guillaume · Apr 10, 2016

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

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

I don't know what else you can pass except for the link, maybe a user ID with to (probably the same params as described in the dialog method