2015-04-17 48 views
-1

當用戶在點擊關鍵按鈕時成功登錄Google+後,我需要回撥事件。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> 

回答