There is a slider and i want create a button which will allow share this image ( which currently active ) and link to page to Facebook.
i tried this method, but looks like facebook cache og:image
FB.ui({
method: 'share_open_graph',
action_type: 'og.shares',
action_properties: JSON.stringify({
object: {
'og:url': 'https://example.com/',
'og:title': 'test title',
'og:description': 'test description',
'og:image' : 'https://assets.codepen.io/1072415/amy-humphries-moOMLIZlUaM-unsplash.jpg'
}
})
});
PS: adding a get parameters to page url still cache the image