facebook share button with custom title, description, and image
<a href='http://www.facebook.com/sharer.php?s=100&p[title]=WEB1CHANNEL&p[summary]=Web+Design+Company+in+Dubai.&p[url]=http://www.webchannel.ae&p[images][0]=http://qacode.com/test.jpg'>Facebook Share</a>
In Ruby on Rails:-
<a href='http://www.facebook.com/sharer.php?s=100&p[title]=Your Wellness Room&p[summary]=<%= summary %>&p[url]=<%= @socialshareurl %>&p[images][0]=<%= imageurl %>'><img src="/images/shared/social-feed/shareicon/facebook<%= @socialcolor %>.png" width="12px" height="12px" id="share_button" title="Facebook"> </a>
Comments
Post a Comment