Google plus分享未在个人资料流中显示

时间:2016-12-29 03:16:00

标签: google-plus

奇怪的是,在我自己的测试网站(https://adzbuzz.000webhostapp.com/shares/71/congo-government-allegedly-shuts-off-internet-service-to-squash-protests)中使用相同的http://staging4.adzbuzz.com/shares/118/congo-government-allegedly-shuts-off-internet-service-to-squash-protests代码,google共享在测试网站上被罚款,而在暂存网站上,共享帖子在分享后google plus stream。

我使用我网站上的plus.google.com/share?url={URL}(带https)格式分享网址。

            <a href="https://plus.google.com/share?url={{CURRENT_URL}}" class="social-share" title="Share on Google+">
                <span class="fa fa-google-plus-official"></span>
                <span class="like-text">Google+</span>
            </a>
<script type="text/javascript">
    $.fn.sharePopup = function (e, width, height) {
        // Prevent default anchor event
        e.preventDefault();
        var left = (screen.width / 2) - (width / 2),
          top = (screen.height / 2) - (height / 2);
        var strTitle = ((typeof this.attr('title') !== 'undefined') ? this.attr('title') : 'Social Share');
    window.open( this.attr('href'), strTitle,
    "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left
      );
    }
    $('.comment a.social-share').on("click", function(e) {
        $(this).sharePopup(e, 600, 400);
    });
</script>

任何人都知道如何修复它,因为即使Google+帮助社区也没有回复此查询/问题?

0 个答案:

没有答案