0

经过多次尝试,我无法在 Facebook Like、Send 和 Share Divs 中获得正确的图像缩略图或完整对象。

这些是元标记。

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">
<meta property="id" content="619746228056373" /> 
<meta property="fb:app_id" content="185401314974757" /> 
<meta property="og:type"   content="website" /> 
<meta property="og:url"    content="http://www.thecampusbook.net" /> 
<meta property="og:title"  content="CampusBook - News, Messages, Alerts, Timeline, Academic Info for Students, Teachers & Parents through Web, SMS & Email channels" /> 
<meta property="og:image"  content="http://www.thecampusbook.net/images/broadcast_book_75.jpeg" /> 

分享代码:

<a href="#" 
    onclick="
    window.open(                  'https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fthecampusbook.net', 
    'facebook-share-dialog', 
    'width=626,height=436'); 
    return false;"
    style="text-decoration:none;">SHARE</a>

LIKE 和 SEND 的代码:

<div class=" fb-like" 
    data-href="http://www.thecampusbook.net/index.php" data-width="450" data-show-faces="true" data-send="true"  
    style=" clear: both;        float: left;        margin: 15px 10px 15px 0;  ">
</div>

如果有人可以提供帮助,我将不胜感激。

4

1 回答 1

0

首先http://www.thecampusbook.net/index.php不是有效的 HTML 文档。对于 FB OG 调试和刷新缓存,请查看Facebook 调试器

于 2013-08-14T21:06:14.560 回答