I have Facebook sharing functionality on my website and I am trying to share dynamic data depending on a choice a user has submitted. On desktop, things work fine but on mobile devices, I am running into issues particularly on Windows Mobile. Any ideas how to sort? My code is below:
FB.ui({
method: 'share_open_graph',
action_type: 'og.shares',
action_properties: JSON.stringify({
object: {
'og:url': [url],
'og:title': [pageTitle],
'og:description': [desc],
'og:image': [shareImage]
}
}),
display: 'dialog' // this is being ignored
}, function (response) {
console.log('shared', response);
});
On an apple device, the popup is being blocked and not allowed to show unless user allows popups personally through their own settings. Unfortunately I need to bypass this due to the nature of client base.
Thanks