【问题标题】:Share buttons have stopped working分享按钮已停止工作
【发布时间】:2014-01-01 02:54:43
【问题描述】:

分享按钮已停止工作(昨天运行良好)。当我推送共享时弹出窗口正确打开,但推送共享时没有任何反应(在弹出窗口内)。这是网站http://lavozdelmuro.com/10-cosas-de-las-que-un-condon-no-te-podra-proteger-por-ejemplo-de-un-velocirraptor/

<!-- share meta -->
<meta property="og:title" content="<?php the_title(); ?>" />
<meta property="og:description" content="El mejor contenido directo a tu muro" />
<meta property="og:image" content="<?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );?><?php echo $url; ?>" />
<meta property="og:url" content="<?php the_permalink() ?>" />
<meta property="og:site_name" content="Lavozdelmuro" />
<meta property="fb:app_id" content="623175637741842" />
<meta property="fb:admins" content="100000269362837" />
<meta property="og:type" content="article" />
<meta content="https://www.facebook.com/Lavozdelmuro" property="article:publisher">

和 HTML 共享:

<a target="_blank"  href="http://www.facebook.com/sharer.php?u=<?php echo $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] ?> ">
    <div class="buttonFb"><span class="facebook"></span>Share Facebook</div>
</a>

调试器信息https://developers.facebook.com/tools/debug/og/object?q=lavozdelmuro.com

【问题讨论】:

    标签: html facebook api


    【解决方案1】:

    我发现了错误,在这里错过http://

    <a target="_blank"  href="http://www.facebook.com/sharer.php?u=**http://**<?php echo $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] ?> ">
        <div class="buttonFb"><span class="facebook"></span>Share Facebook</div>
    </a>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多