CallBack response for google+ follow button

时光总嘲笑我的痴心妄想 提交于 2019-12-20 07:48:08

问题


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>

回答1:


Callbacks are not documented as being supported for the follow widget.



来源:https://stackoverflow.com/questions/29699899/callback-response-for-google-follow-button

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!