【问题标题】:Google Plus count does not increment after sharing the post分享帖子后 Google Plus 计数不会增加
【发布时间】:2012-02-10 18:30:57
【问题描述】:

https://plusone.google.com/_/+1/confirm?hl=en&url 允许我们共享内容,但不允许增加“加一计数”。

【问题讨论】:

  • 如果很紧急,您可能需要多花一点时间来改进您的问题,以便人们可以更快地回答。

标签: google-plus google-plus-one


【解决方案1】:

您是否添加了示例中提到的代码,而不仅仅是使用了链接。

<!-- Place this tag where you want the +1 button to render -->
<g:plusone annotation="inline"></g:plusone>

<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

来源:http://www.google.com/intl/en/webmasters/+1/button/index.html

【讨论】:

    【解决方案2】:

    您使用的分享网址不是受支持的 Google+ API。它通常发生在您在弹出窗口中 +1 网址之后,但由于您直接使用它,它实际上会跳过网址的 +1。如果您想包含 +1,请使用 +1 按钮作为@benni_mac_b 的回答状态。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-05-15
      • 1970-01-01
      • 1970-01-01
      • 2013-10-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多