无法共享G + plus网址

时间:2017-02-09 01:15:56

标签: html google-plus share

我正在使用angularJS运行C#。我上次使用了Google分享按钮。有用。但是目前我再次尝试过,它已经不再适用了。它仅适用于其他网站,但不适用于我的网站。

控制器

$scope.getShareGoogleURL = function (p) {
    var url = BASE_URL + "/property/" + p.property_id;
    return encodeURIComponent(url);
}

HTML

<a target="_blank" href="javascript:void(window.open('https://plus.google.com/share?url={{ getShareGoogleURL(p) }}', 'Share to Google+','width=600,height=460,menubar=no,location=no,status=no'));">
    <i class="fa fa-google"></i>
</a>

当我点击G +按钮时,会弹出一个窗口,然后我登录谷歌帐户。它显示

  

该链接无效,请检查&amp;再试一次。

示例链接:https://lskserver.azurewebsites.net/properties/newSale

0 个答案:

没有答案
相关问题