Manik Mittal
Manik Mittal

Reputation: 269

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.

Upvotes: 4

Views: 12435

Answers (2)

Mukesh Tilokani
Mukesh Tilokani

Reputation: 11

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)

Upvotes: 1

Guillaume
Guillaume

Reputation: 3051

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

Upvotes: 12

Related Questions