Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google plus 在google plus上共享帖子并使用google plus api获取帖子评论的示例代码_Google Plus - Fatal编程技术网

Google plus 在google plus上共享帖子并使用google plus api获取帖子评论的示例代码

Google plus 在google plus上共享帖子并使用google plus api获取帖子评论的示例代码,google-plus,Google Plus,我想在google plus上共享一篇文章,并使用google+api javascript代码获取评论。请发送示例代码给我,以共享并获取同一篇文章的评论 谢谢 <!-- Place this tag where you want the share button to render. --> <div class="g-plus" data-action="share"></div> <!-- Place this tag after the la

我想在google plus上共享一篇文章,并使用google+api javascript代码获取评论。请发送示例代码给我,以共享并获取同一篇文章的评论

谢谢


 <!-- Place this tag where you want the share button to render. -->
<div class="g-plus" data-action="share"></div>

<!-- Place this tag after the last share tag. -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/platform.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>
(功能(){ var po=document.createElement('script');po.type='text/javascript';po.async=true; po.src=https://apis.google.com/js/platform.js'; var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s); })();

你也可以参考

我想让google plus用户了解我分享的帖子。我知道这一点