tmort / Socialite

Other
1.68k stars 164 forks source link

Add Pinterest Pin It button and Count #8

Closed jasondavis closed 12 years ago

jasondavis commented 12 years ago

Please add support for the newer Pinterest "Pin It" button with count. http://pinterest.com/about/goodies/ Here is an example to add a Pin it button from that page

<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.codedevelopr.com%2F&media=http%3A%2F%2Fwww.codedevelopr.com%2Fimage.png&description=My%20Description%20for%20this%20website" class="pin-it-button" count-layout="vertical">Pin It</a>
<script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
influxweb commented 12 years ago

I'll second this request. I tried looking at adding it though the "Socialite.extend" function, but was unsuccessful. Could we get a little more documentation on how the "Socialite.extend" woks as well?

dbushell commented 12 years ago

Thanks for the suggestion Jason, I'll likely add Pinterest in the next version. I'll also add a bit more documentation for Socialite.extend too :)

influxweb commented 12 years ago

Hi David,

Thank you for adding Pinterest into the mix.

Cheers, Matt

jasondavis commented 12 years ago

Yes, thank you so much, this is great! I currently use this script on my site http://www.codedevelopr.com/. You can see how I use the social share buttons on this page http://www.codedevelopr.com/organize-your-projects-into-boards-with-the-trello-app/ near the bottom, I have it set to load on Hover which is such an amazing idea, that cuts down on 5 servers being hit during initial page load. Such an awesome job @DBushell has done for all of us!

dbushell commented 12 years ago

Thanks guys :)