在facebook上共享网站url


share website url on facebook

每当我试图在脸书上分享网站url时,只有简单的网站url被分享,我试图分享分享帖子的描述标题和图片。这里是下面的代码

   <title><?php echo $sub; ?> | twekr</title>
   <meta property="og:url"           content="http://twekr.com
   /post/<?php echo $id; ?>" />
<meta property="og:type"     content="website" />
<meta property="og:title"    content="<?php echo $sub; ?> | twekr"/>
<meta property="og:description" content="twekr is a social job portal 
where people meet from far distance and find jobs related to fashion. 
here at we provide knitwear design, fashion design, Leather design, 
accessory design, fashion communication, textile design and much more" />
<meta property="og:image"    content="http://twekr.com/index/logo.png" />

现在每当我使用此url共享我的网站时https://www.facebook.com/sharer/sharer.php?u=http%3A//twekr.com/post/只有url是共享的,没有其他

您可以使用Facebook调试器来检查哪些工作不正常:https://developers.facebook.com/tools/debug/

有时你需要使用"获取新的刮刮信息"来更新Facebook的数据。我认为目前脸书没有检查og:描述。

我真的无法测试你的URL,因为我需要一个帖子ID。