Pin It Button

A Pin It Button is very similar to your Like or Tweet button. It allows user to share/bookmark ( or Pin in Pinterest's language) a web page.

It's very easy to add a Pin It button on your site Get you Pint It button here. Although after adding the Pin It button on a website I came across the following bugs

  1. URL of the image to be pinned is mandatory: If not done Pin It button will be displayed as normal but  user won't be able to Pin It. The worst part is Pinterest never gave any error in this case, leaving you in the puzzled state.
  2. Count Bubble was not rendering
Code generated by Pinterest for Pin It Button

As you can notice the code generated by Pinterest has encoded the URLs' that I entered but unfortunately if you copy paste in your web page the count bubble will not be displayed. To show the count button edit the code generated by replacing the encoded URL from normal decoded URL. After this you will be able to see the Pint It count

Happy Pinning :)


Popular posts from this blog

Using Solr Spellchecker from Java

Importing / Indexing MySQL data into Solr

Custom PagingNavigator for SEO friendly URL