vendredi 17 avril 2015

Using fb:// To Share a Post through the Facebook App

One of my sites has a custom share plugin that I've written and I would like to try to get the 'sharing' feature to open up in the native Facebook app if possible. I know that you can use fb:// to open up the app but from what I've read, this is part of FBML which has been deprecated for several years. What I ideally would like is to have the link open up the FB app with a pre-populated link in the share box that the user could then just automatically share. Basically the functionality of the sharer.php script (it's ok if it pulls the data from the OG tags).


I know it can be done in iOS apps (and probably Android) but is it possible to do through a web interface?


I have the links I'm using only showing on mobile devices through some Javascript so I wouldn't have to worry about it causing any problems sitewide.


Thanks for your help!


Aucun commentaire:

Enregistrer un commentaire