CallBack响应为google +跟随按钮 [英] CallBack response for google+ follow button
本文介绍了CallBack响应为google +跟随按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当用户在点击跟随按钮时成功登录Google+时,我需要一个回调事件。
I need a callback event when a user is successfully logged into the Google+ at time of follow button click.
此代码未提供任何回调回复:
This code is not giving any callback response :
<!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>
推荐答案
回调不是记录为下一个窗口小部件支持。
Callbacks are not documented as being supported for the follow widget.
这篇关于CallBack响应为google +跟随按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文