Hi all,

If the user clicks on a certain button, I am dynamically generating an image 
and mount this as follows: http://www.domain.com/facebook/UUID.png 
<http://www.domain.com/facebook/UUID.png>. After that, the JS function below is 
called.

I am using the Facebook feed dialog in order to open the share dialog. Although 
I am providing unique picture URLs, Facebook always shows an old image (from 
the cache) and not the one from the URL.
Does anyone know a hint how to force Facebook to use the picture from the URL 
in its share dialog?
https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.3 
<https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.3>

Thanks, Chris

<script type="text/javascript">
    function shareMessage(link) {

        FB.ui(
                {
                    method: 'feed',
                    name: some name,
                    link: 'some link',
                    picture: link,
                    caption: link,
                    description: "some description",
                    message: ''
                });
    }

</script>

Reply via email to