Reputation: 1030
Seems like the latest Facebook Share API has dropped a couple of parameters and is now down to a lean
FB.ui({
method: 'share',
href: 'https://developers.facebook.com/docs/',
}, function(response){})
It now relies solely on OpenGraph tags in the page HEAD.
Unfortunately, I have a couple of use cases where we may want the user to share the page but possibly also share a "quick app" somewhere in the right rail.
The only solution I can think of for the Quick app would be to point the href to a lander page that features just the app with the correct OG tags in the head.. and just the app contents.
This this seem like the best approach or have I missed a step?
Upvotes: 0
Views: 217
Reputation: 73984
That is not a bad solution, but you can also use the feed dialog and add all the information on your own: https://developers.facebook.com/docs/sharing/reference/feed-dialog/
Upvotes: 1