facebook_auth.rb 374 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 class OauthClientPlugin::FacebookAuth < OauthClientPlugin::Auth IMAGE_SIZES = { :big => "150", :thumb => "100", :portrait => "64", :minor => "50", :icon => "20" } def image_url(size = nil) size = "" "http://graph.facebook.com/#{self.uid}/picture" end end