0.0
No commit activity in last 3 years
No release in over 3 years
Helper methods to easy integrate social buttons 'Pin It', 'Like', 'Tweet it', 'G+' in Rails application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.0.0
 Project Readme

SocialButtons

Helper methods for to easy integrate social buttons 'Pin It', 'Like', 'Tweet it', 'G+'

Installation

Add this line to your application's Gemfile:

gem 'social_buttons'

And then execute:

$ bundle

Usage

In application.js add:

//= require social_buttons

In view:

<%= pin_it_button url: @product.url, media: @product.large_image_url, description: @product.description %>

<%= fb_like_button %>

<%= twitter_share_button count: 'none' %>

<%= google_plus_button size: 'medium', annotation: 'none' %>

More details you can find in the code