I'm building an image sharing website that has a slideshow view that lets you scroll through all of the images on that page and each image has the option to share it. I want whatever image it is that you're sharing to be used as the display image on your Facebook feed. I know of the meta tags but those can't be dynamically changed, is there no way to pass in an image URL as a parameter? The link that's being shared isn't a direct link to the image, but a link with a parameter that opens that image up in the slideshow.
I'm using this code to share:
$('#imageViewer').on('click', '.button', function(){
FB.ui({
method: 'share',
href: 'http://myurl.com/?imageID=imageid'
}, function(response){});
});