【问题标题】:CallBack response for google+ follow buttongoogle+关注按钮的回调响应
【发布时间】:2015-04-17 12:58:56
【问题描述】:

当用户在点击关注按钮时成功登录 Google+ 时,我需要一个回调事件。

这段代码没有给出任何回调响应:

<!DOCTYPE html>
<html lang="en">

<head>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script src="https://apis.google.com/js/platform.js?onload=onLoadCallback" async defer></script>
    <script>
        function plusClick(data) {
            //Nothing working
        }
    </script>
</head>

<body>
    <div class="g-follow" data-annotation="bubble" data-onstartinteraction="tester" data-callback="plusClick" data-height="20" data-href="//plus.google.com/u/0/115175605005410528191" data-rel="author"></div>
</body>

</html>

【问题讨论】:

    标签: events callback google-plus


    【解决方案1】:

    回调不支持documented,因为关注小部件不受支持。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-24
      • 2013-04-21
      • 2014-09-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-15
      相关资源
      最近更新 更多