【发布时间】:2014-03-20 06:30:51
【问题描述】:
我想在 google plus 上分享一篇文章并使用 google+ api javascript 代码获取 cmets。请给我发送示例代码以分享并获取同一帖子的 cmets。
谢谢
【问题讨论】:
标签: google-plus
我想在 google plus 上分享一篇文章并使用 google+ api javascript 代码获取 cmets。请给我发送示例代码以分享并获取同一帖子的 cmets。
谢谢
【问题讨论】:
标签: google-plus
<!-- 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>
【讨论】: