php - How to Dynamically post on Google plus wall? -
i have code post dynamically content on google plus wall using javascript want post using php.
this java script code :
function grendershare() { $('#share-button').show(); var options = { contenturl: $('#link-url').val(), clientid: '*clientid*.apps.googleusercontent.com', cookiepolicy: 'single_host_origin', prefilltext: $('#prefill-text').val(), recipients: (gsharerecipient ? gsharerecipient.tostring() : null), calltoactionlabel: ($('#call-to-action').val() ? $('#call-to-action').val() : null), calltoactionurl: $('#target-url').val(), onshare: function(response){ console.log(response); alert(response); } }; // call render method when appropriate within app display button. gapi.interactivepost.render('share-button', options); }
Comments
Post a Comment