Google plus 在Google Interactive Post上处理Post事件

Google plus 在Google Interactive Post上处理Post事件,google-plus,Google Plus,我使用Google Interactive post让登录用户邀请外部用户访问该站点。我只想在用户选择在google plus上发布他的一个连接后,在我的网站上注册邀请 是否有一种方法可以处理post事件并知道用户是否已发布,并相应地调用处理程序 这是我今天的称呼 var options = { contenturl: myurl, clientid: googleappid, cookiepolicy: "single_host_origin", prefill

我使用Google Interactive post让登录用户邀请外部用户访问该站点。我只想在用户选择在google plus上发布他的一个连接后,在我的网站上注册邀请

是否有一种方法可以处理post事件并知道用户是否已发布,并相应地调用处理程序

这是我今天的称呼

var options = {
    contenturl: myurl,
    clientid: googleappid,
    cookiepolicy: "single_host_origin",
    prefilltext: text,
    calltoactionlabel: "START",
    calltoactionurl: somethingstring,
    recipients: connectionid,
    onClick: doSomethingOnClick(),
};  
gapi.interactivepost.render('submit', options);
就像onClick一样,是否也支持像onPost这样的事件

onshare: function(response){
        console.log('callback done');
      // These are the objects returned by the platform
      // When the sharing starts...
      // Object {status: "started"}
      // When sharing ends...
      // Object {action: "shared", post_id: "xxx", status: "completed"} 
    }
这是没有文件的,但我只是测试了一下,效果不错