I am trying to share video link using Facebook share dialog but after sharing the url on Facebook, Facebook does not show the image and also does not play video on the Facebook after sharing it.
I am trying to share links like how YouTube share their videos on Facebook so that user can play the videos on the Facebook after sharing it. Here is my code
FB.ui(
{
method: 'share',
quote: 'share it using facebook',
mobile_iframe: true,
href: 'https://example.com/raisingfundsthroughvideo',
hashtag:'#websitename',
}
);
in my meta tags i have also used the image width and height but still the image is not showing.
<meta property="og:image:type" content="image/jpg" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="300" />
facebook link debugger gives me this error on its page
Provided og:image, https://d3ekuwxfrjk8w6.cloudfront.net/folder/folder/filename could not be downloaded because it exceeded the maximum allowed sized of 8Mb or your server was too slow to respond.
the above image url is valid and I don't know why it is not showing the image is it because of the Cloudfront url?