I know that I need to use the data like this, in order to send data to my facebook canvas app:
FB.init({appId: '#{Facebook::APP_ID}', xfbml: true, cookie: true});
FB.ui({ method: 'apprequests', message: 'Invite Friends to Blabloo...',
data: '{\"draw_token\":\"#{@draw.token}\",\"invitation_token\":\"#{current_kid.invitation_token}\"}',
exclude_ids: #{@draw.get_invited_ids_for current_kid}},handle_fb_callback);
and this send a Facebook invitation, that show you my registration form inside a cavas Facebook app, now on this registration form, on my new action, I need to get this draw_token and invitation_token.
How can I get this information?
NOTE: I'm using the koala gem