search for: fb_req_choice

Displaying 2 results from an estimated 2 matches for "fb_req_choice".

2008 Feb 01
2
proposed patch for fb_request_form_submit
....developers.facebook.com/index.php/Fb:request-form-submit for details. def fb_request_form_submit(options={}) tag ("fb:request-form-submit",options) end Usage example: <% content_for("invite_message") do %> wants to blah blah blah. <%= fb_req_choice("Join XYZ ap",url_for(:action => "invite_signup")) %> <% end %> <% fb_request_form("MyApp","invite_message",url_for(:action => "invite_signup")) do %> <%= fb_request_form_submit({:uid => a_pre_determined_fri...
2008 Jun 06
2
422/InvalidAuthenticityToken with fb_request_form
...generated by fb_request_form to work, it doesn''t seem to add hidden fields for the token. Should it? Can it even (add extra fields to the fb:request-form)? My view: <% content_for("challenge_content") do %> 13 <%= @challenge_message %> 14 <br /> 15 <%= fb_req_choice(''Accept'', url_for(:controller => ''challenge'', :action => ''accept'')) %> 16 <%= fb_req_choice(''Decline'', url_for(:controller => ''challenge'', :action => ''decline'')) %>...