为什么 Facebook 上的分享页面不显示图像?

Why does sharing page on Facebook does not show the image?

因此,我的这篇文章页面有时 post 包含 600x315 尺寸的图像,并且大部分小于 100kb。

以下是我在 article.php 网站上使用的元数据,但是当我在 Facebook 上分享 post 时,图像 部分显示空白 。我在这些元数据中缺少什么?

<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="<?php echo $row['keyword']; ?>">
<meta name="description" content="<?php echo metadesc($row['description']); ?>">
<link rel="canonical" href="<?php echo $site_path.$url; ?>" />

<!-- for Facebook -->          
<meta property="og:title" content="<?php  echo ucletters($row['title']); echo ' | '; echo $site_name;?>" />
<meta property="og:type" content="article" />
<meta property="og:image" content="<?php echo $site_path.'uploads/images/'.$row['image']; ?>" />
<meta property="og:image:width" content="200" />
<meta property="og:image:height" content="200" />
<meta property="og:url" content="<?php echo $site_path.$url; ?>" />
<meta property="og:description" content="<?php echo metadesc($row['description']); ?>" />

<!-- for Twitter -->          
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="<?php  echo ucletters($row['title']); echo ' | '; echo $site_name;?>" />
<meta name="twitter:description" content="<?php echo metadesc($row['description']); ?>" />
<meta name="twitter:image" content="<?php echo $site_path.'uploads/images/'.$row['image']; ?>" />

访问 Facebook developer debug tool

检查您的 url(s) 问题。阅读他们的指南,这肯定会 work.Good 好运