Handling the Post event on Google Interactive post -
i use google interactive post let logged in user invite external users site. register invite on site once user has chosen post 1 of connections on google plus.
is there way handle post event , know whether user has posted or not , invoke handler accordingly?
here's how call today.
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);
just onclick there event onpost supported?
there's
onshare: function(response){ console.log('callback done'); // these objects returned platform // when sharing starts... // object {status: "started"} // when sharing ends... // object {action: "shared", post_id: "xxx", status: "completed"} }
it's undocumented, tested , worked.
Comments
Post a Comment