【问题标题】:Facebook Like, Send, Share thumbnail and objectFacebook 喜欢、发送、分享缩略图和对象
【发布时间】:2013-08-14 20:45:55
【问题描述】:

经过多次尝试,我无法在 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>

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

【问题讨论】:

    标签: image facebook object share facebook-like


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-14
      • 2016-11-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多