lib/facebooker/rails/helpers.rb
# Create an fb:dialog
# id must be a unique name e.g. "my_dialog"
# cancel_button is true or false
Create an fb:dialog
id must be a unique name e.g.
Create an fb : dialog id must be a unique name e . g .
def fb_prompt_permission(permission,message,callback=nil)
        raise(ArgumentError, "Unknown value for permission: #{permission}") unless VALID_PERMISSIONS.include?(permission.to_sym)
        args={:perms=>permission}
        args[:next_fbjs]=callback unless callback.nil?
        content_tag("fb:prompt-permission",message,args)
      end
def fb_prompt_permission ( permission , message , callback = nil ) raise ( ArgumentError , "Unknown value for permission: #{permission}" ) unless VALID_PERMISSIONS . include? ( permission . to_sym ) args = { :perms => permission } args [ :next_fbjs ] = callback unless callback . nil? content_tag ( "fb:prompt-permission" , message , args ) end
Create an fb:dialog
id must be a unique name e.g.
Create an fb : dialog id must be a unique name e . g .
permission
<not_specific>
message
<not_specific>
callback
<not_specific>