This blog will help you to share some interest webpages with your friends using Google+ share functionality.
Its very easy to add in your webpages.
The Google Plus share icon is available in a number of different sizes.
The share link invokes the Google+ share endpoint, which you can also link to directly:
The Google+ share endpoint accepts the following query parameters:
- The URL of the page to share. This value should be url encoded.
- The language code for the locale to use on the Google+ sharing page.
We need to update HTML schema with Google compatible meta tags, It will generate preview information.
Create a page with below content,
When you press the google +1 button on a site it grabs the typical meta data such as title,image and description.
Sample Google Plus button code
<%= image_tag "google.png" ,:size=>“32×32”,:title=>”Share on Google+”%>