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.
Asked
Active
Viewed 1.2k times
2 Answers
12
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

Guillaume
- 2,912
- 3
- 35
- 59
-
Thank a lot Guillaume. It really helped. – Manik Mittal Apr 11 '16 at 13:55
-
@ManikMittal maybe you could accept the answer then ;) – Guillaume Jan 18 '17 at 03:00
-
Tried this in Gmail but it did not work. Gmail removes this hyperlink. – SagarVimal Aug 05 '17 at 19:10
-
@SagarVimal I guess you need to take this issue with Gmail then ;) – Guillaume Aug 07 '17 at 06:35
-
2Here is just open messenger app not sending any message – Suresh Suthar Oct 04 '17 at 10:00
-
By the way, you can put anything in "link". even text. – Elron Jun 15 '18 at 17:57
1
i'm facing same issue and this is not working in ios devices. In android devices its working fine.
I have used this one: fb-messenger://share?link=" + smsString; (smsString is var)

Mukesh Tilokani
- 11
- 1