Skip to content Skip to sidebar Skip to footer

How To Share Content From Our Site To Google Plus

How to share content from our site to google plus I tried it like this

Solution 1:

yes. You can paste a content from your app which you have to set as a default data.. https://developers.google.com/+/web/share/interactive#button_attr_calltoactionurl

Nothing much to do here..

Just create a google plus app on the developers section. Then Paste the below portions

<button
  class="g-interactivepost"
 data-contenturl="https://plus.google.com/pages/"
  data-contentdeeplinkid="/pages"
  data-clientid="xxxxx.apps.googleusercontent.com"
  data-cookiepolicy="single_host_origin"
  data-prefilltext="Engage your users today, create a Google+ page for your business."
  data-calltoactionlabel="CREATE"
  data-calltoactionurl="http://plus.google.com/pages/create"
  data-calltoactiondeeplinkid="/pages/create">
  Tell your friends
</button>

Then change the data- client id.. Now it will work as per your expectation. Enjoy :)


Solution 2:

Its been some time since the Google has brought its share button. You can find this, on their developer's page. [Here]

Paste the generated code on your web page, then link of the page will be automatically received by the API.


Post a Comment for "How To Share Content From Our Site To Google Plus"