ios - FBSession.activeSession.permissions does not appear to accurately depict the valid granted permissions -


i observing following....

i authenticate user via following (note in completion block nslogging permissions)

 nsarray *permissions = [[nsarray alloc] initwithobjects:                         @"email", @"publish_actions",                         nil];   [fbsession openactivesessionwithpublishpermissions:permissions                                    defaultaudience:fbsessiondefaultaudiencefriends                                       allowloginui:allowloginui                                  completionhandler:^(fbsession *session, fbsessionstate state, nserror *error) {                                  nslog(@"permissions %@",fbsession.activesession.permissions);  }]; 

as user start app , proceed login w/ fb.

  1. i presented screen reads "app access public profile, friend list , email address." , select "ok"

  2. i presented screen reads "app post friends on behalf" , select "skip".

3) completion block code spits out permissions following

permissions ( email, "publish_actions" )

why publish_actions listed? if try post fb through app error out , tell me don't have right permissions......yet cannot check case b/c fbsession.activesession.permissions tells me have "publish_actions" permission when in reality not.

what missing here?

if using ios sdk 3.0, due bug in sdk. see bug report more details.

symptom summary:

after authorizing user openactivesessionwithpermissions method, sessions variable in callback method contains extended permissions not allowed user.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -