Skip to content

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

License

Notifications You must be signed in to change notification settings

alexkojin/social_buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages