mercredi 3 janvier 2018

Share content through the Facebook app if it's installed

I have included a button on my website so that users can share it through Facebook. I get this with a simple link:

<a class="rs-link" class="fb" target="_blank" href="http://ift.tt/2AbWkBa">

And I modified the "metatags" with the content to share:

<meta property="og:url" content="http://midominio.com" />
<meta property="og:title" content="Mi página web" />
<meta property="og:description" content="Aquí una breve descripción de la web" />
<meta property="og:image" content="http://ift.tt/2CvzCKn" />

This means that when sharing, it is done through the browser.

Is there any way that when the user accesses the web through a mobile device, is it detected if the Facebook app is installed (and is logged in) and the sharing is made through it?

Excuse me for my English, I hope you understand :)




Aucun commentaire:

Enregistrer un commentaire