How to Share Image and Description Using Social_Share_Button in Rails

Social Media Sharing Buttons Gem for Ruby on Rails

As you shop for these widgets you should not think in terms of Rails solutions but Javascript solutions. Since Rails had adopted JQuery as it default JS framework you can also look in that direction.

Here are a few: http://plugins.jquery.com/?s=social

I recommend shareBox

Facebook/Twitter share button - specify url

Koala and Twitter gem fit the bill pretty well.
They are a wrapper on top of their respective API's so you have maximum control over what you want to do.

https://github.com/arsduo/koala

https://github.com/sferik/twitter

social share css issue

The issue is due to overlapping text "Share to" so you can hide text by making its opacity 0 .Just add this css snippet

.social-share-button a {
color: rgba(225,225,225,0) !important;
}


Related Topics



Leave a reply



Submit