I tried to use FB.ui and share method to share dynamic gif.
The image was hosted in my own server. After shared, I found it was in static image.
Is it possible to host the gif other than GIPHY.com and some related images hosting websites? Any settings than need to be configured in my server?
I have tried to add mime type and add same value for og:url and og:image in html head section. But all of them failed.
Any advise? Thanks.
The code is as simple as the followings.
$('.test').click(function(){
FB.ui({
method: 'share',
link: 'http://MY DOMAIN/img/THE GIF.gif',
caption: 'An example caption',
href: 'http://MY DOMAIN/img/THE GIF.gif',
}, function(response){});
});