lib/facebooker2/rails/helpers/user.rb
# Render an fb:name tag for the given user
# This renders the name of the user specified.  You can use this tag as both subject and object of 
# a sentence.  <em> See </em> http://wiki.developers.facebook.com/index.php/Fb:name for full description.  
# Use this tag on FBML pages instead of retrieving the user's info and rendering the name explicitly.
#
Render an fb:name tag for the given user
This renders the name of the user specified.  You can use this tag as both subject and object of
a sentence.
Render an fb : name tag for the given user This renders the name of the user specified . You can use this tag as both subject and object of a sentence .
def fb_profile_pic(user, options={})
          options = options.dup
          validate_fb_profile_pic_size(options)
          options = fb_transform_keys(options,FB_PROFILE_PIC_OPTION_KEYS_TO_TRANSFORM)
          fb_assert_valid_keys(options,FB_PROFILE_PIC_VALID_OPTION_KEYS)
          options.merge!(:uid => Facebooker2.cast_to_facebook_id(user))
          content_tag("fb:profile-pic", nil,fb_stringify_vals(options))
        end
def fb_profile_pic ( user , options = { } ) options = options . dup validate_fb_profile_pic_size ( options ) options = fb_transform_keys ( options , FB_PROFILE_PIC_OPTION_KEYS_TO_TRANSFORM ) fb_assert_valid_keys ( options , FB_PROFILE_PIC_VALID_OPTION_KEYS ) options . merge! ( :uid => Facebooker2 . cast_to_facebook_id ( user ) ) content_tag ( "fb:profile-pic" , nil , fb_stringify_vals ( options ) ) end
Render an fb:name tag for the given user
This renders the name of the user specified.
Render an fb : name tag for the given user This renders the name of the user specified .
user
<not_specific>
options
<not_specific>