Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending URL using Facebook messenger from my Mobile Website

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.

like image 323
Manik Mittal Avatar asked Dec 15 '22 07:12

Manik Mittal


1 Answers

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

like image 191
Guillaume Avatar answered Feb 24 '23 07:02

Guillaume