Use FB.ui with possibility to choose on which page to share

193 Views Asked by At

I made a SPA (single page app) with dynamics articles (filled with javascript). So I used FB.ui so as to dynamically fill facebook options, like this :

FB.ui({
    method: 'share_open_graph',
    action_type: 'og.shares',
    display: 'popup',
action_properties: JSON.stringify({
        object: {
            'og:url': overrideLink,
            'og:title': overrideTitle,
            'og:description': overrideDescription,
            'og:image': overrideImage
        }
    })
},
function (response) {});
});

But with this solution, it does'nt seem possible to have the "share the content to the pages I manage" option. (with simple syntax - just href link - this option is activated)

I searched on a lot of forums and facebook dev doc but did'nt find. If someone can help ! Thanks !

0

There are 0 best solutions below