Method: Facebooker::User#set_profile_info

Defined in:
lib/facebooker/models/user.rb

#set_profile_info(title, info_fields, format = :text) ⇒ Object

** NEW PROFILE DESIGN *** Set a info section for this user

Note: using set_profile_info as I feel using user.set_info could be confused with the user.getInfo facebook method.

Also, I feel it fits in line with user.set_profile_fbml.


422
423
424
425
# File 'lib/facebooker/models/user.rb', line 422

def set_profile_info(title, info_fields, format = :text)
  session.post('facebook.profile.setInfo', :title => title, :uid => id,
    :type => format.to_s == "text" ? 1 : 5, :info_fields => info_fields.to_json)
end