Hi Experts,
I am trying to POST on google plus wall from my django application.I am able to get the google share pop up .But Once I click the share Button its not posting on my page.
Here is what I did.
Settings.py file:
--------------------
publish.html:
-----------------
<div id="sharePost">
<button type="button" id="{{
project.id }}" class="btn btn-info"
onclick='publish_project(id);'>
publish
</button>
</div>
{% block google_script %}
<script >
window.___gcfg = {
lang: 'en',
parsetags: 'onload',
isSignedOut: true
};
</script>
{% endblock %}
{% block share %}
<script>
var options = {
cookiepolicy: 'single_host_origin',
prefilltext: 'New project is added',
};
// Call the render method when appropriate within your app to display
// the button.
var gapi = gapi.interactivepost.render('sharePost', options);
console.log(gapi);
</script>
{% endblock %}
{% block google_style %}
<style>
display: none;
}
</style>
{% endblock %}
Can anyone Please help me with this
Thanks,
Karthik