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

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -