Facebook Login with permissions - Accept or Decline - always is TRUE

hello,

i’m trying build facebook login with some basic permissions, but i’ve this issue:

when i do simple facebook.login() with no permissions and I click on CANCEL then in listener following is returned: dialog “phase” = “loginCancelled”. THIS IS OK

BUT If I ask for extended permissions in facebook.login() and then in dialog I choose OK or NOT NOW there is no parameter with result returned in listener, so i dont know if user granted permissions or not.  i always get this from listener:

I/Corona  (31656): connectWithFacebookListener 

I/Corona  (31656): “type” = “session”

I/Corona  (31656): “name” = “fbconnect”

I/Corona  (31656): “expiration” = 1407670229

I/Corona  (31656): “phase” = “login”

I/Corona  (31656): “token” = “CAAB2nWrMW0IBACU6XxxHO5CjzLd4ixY1h6BnCHuHqHFYF4FK2IEs4rWUnEo6sUGUnPl6J47…”

I/Corona  (31656): “isError” = false

I/Corona  (31656): “response” = “”

I’m testing on Android with latest daily build 2334

I’ve checked sample app and you can easily test it there, it throws severeal runtime errors

This is because facebook added the ability to decline a permission only recently (v2.2), and Corona has to change their implementation so we can:

– get the error message saying the user revoked the permission

– check the permissions the user has granted or revoke

– re-request a permission. if a user has revoked it

I explained it here:

http://forums.coronalabs.com/topic/52728-facebook-permissions-checking-and-rerequesting/

but got no answer…

This is because facebook added the ability to decline a permission only recently (v2.2), and Corona has to change their implementation so we can:

– get the error message saying the user revoked the permission

– check the permissions the user has granted or revoke

– re-request a permission. if a user has revoked it

I explained it here:

http://forums.coronalabs.com/topic/52728-facebook-permissions-checking-and-rerequesting/

but got no answer…