[Facebooker-talk] parameters for fb_sig_ext_perms =>not showing up???

Joseph Durden josephdurden at gmail.com
Fri Nov 14 07:43:06 EST 2008


Hello everyone,

I am using fb_prompt_permission :email, "Give Permission!" and it is working
properly.  A user can give permission and my app can then send emails to
users.

I have a requirement that I have to document that a user has granted this
email extended permission.  I don't see the params for fb_sig_ext_perms =>
email? Why is this not showing up?  Could this be the facebooker plugin or
is it the actual www.facebook.com api?  I noticed the fb_sig_ext_perms
before filters although I dont need them

  before_filter :ensure_has_status_update
  before_filter :ensure_has_photo_upload
  before_filter :ensure_has_create_listing


i have tested the above out, and i properly receive the params for status,
photo and create.  How can I get the email permissions sent as a params?  I
have also tried using fql to grab the email permissions for a given user.
Here is the fql:

>> current_user.facebook_session.fql_query("select email from permissions
where uid = (#{current_user.facebook_id})")
=> [nil]

I think that my fql is working properly but not sure.

If anyone knows how to get the email sent in params or how to write a fql
query that can give me the params I would be extatic!

Here are my params:

Parameters: {"fb_sig_time"=>"1221234687.6134",
"fb_sig"=>"1234gsdrgdfh4634534yhdsrt6345634", "fb_sig_in_new_facebook"=>"1",
"_method"=>"GET", "fb_sig_locale"=>"en_US", "action"=>"index",
"fb_sig_session_key"=>"2354sdfgew563455sgerd34-1231241244",
"fb_sig_position_fix"=>"1", "fb_sig_in_canvas"=>"1",
"fb_sig_request_method"=>"GET", "controller"=>"home",
"fb_sig_expires"=>"123345234234", "fb_sig_added"=>"1",
"fb_sig_friends"=>"1153203682,1154273529,1189153592,1209608725,1212782770",
"fb_sig_api_key"=>"1sd234243235235sdgttwet2354g345tr3",
"fb_sig_ext_perms"=>"status_update,photo_upload,create_listing",
"fb_sig_user"=>"12342342342", "fb_sig_profile_update_time"=>"1226123330"}

as you can see there are no fb_sig_ext_perms.

JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/facebooker-talk/attachments/20081114/560aebcd/attachment.html>


More information about the Facebooker-talk mailing list