如何在Google Plus Follow Button中捕获回调事件?

时间:2015-10-20 07:11:03

标签: javascript google-plus

我正在使用Google +关注按钮。有没有办法捕获Google+关注按钮的回调事件。

<div class="g-follow" data-annotation="bubble" data-callback="onCallback" data-height="20" data-href="https://plus.google.com/XXXXXXXXXXXXXXX" data-rel="publisher"></div>

function onCallback(args) {
  alert(args);
}

0 个答案:

没有答案
相关问题