>Twitter share and facebook like button for html/erb
<div class='spread'> <div class='twshare left'> <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="funonrails">Tweet</a>http://platform.twitter.com/widgets.js </div> <fb:like href="" layout="button_count" show_faces="false" width="450" font=""></fb:like></div>
Twitter share and facebook like button for haml
.spread .twshare.left %a.twitter-share-button.left{"data-count" => "horizontal", "data-via" => "fuonrails", :href => "http://twitter.com/share"} Tweet %script{:src => "http://platform.twitter.com/widgets.js", :type => "text/javascript"} .fshare.left{:style => 'padding-left: 0px; margin-left: 10px;'} %script{:src => "http://connect.facebook.net/en_US/all.js#xfbml=1"} %fb:like{:layout => "button_count", :show_faces => "false", :width => "450"} .CLR
Sample Buttons
Tweet
Hi,
Is there any EXTERNAL LIBRARIES which will help me to fetch facebook data(i.e. his post, friend requests, no. of friends, photo tags etc.) for a particular user.
Thanks.
use facebook graph api (fb_graph gem)
Thanks for the prompt reply.
I get pleasure from, cause I discovered just
what I used to be having a look for. You’ve ended my 4 day long hunt!
God Bless you man. Have a nice day. Bye