I use facebook SDK v3.11.1, and I have 2 facebook apps (on facebbok), each of which has an app id.
I programmatically change the default application id:
[FBSettings setDefaultAppID:<my_app_id>]
and then I call openActiveSessionWithReadPermissionsfacebook requests permission for the corresponding application.
After that, I try to change the default application identifier (the same code as above), in the same session, and no permissions are requested on facebook.
Should I close the old session, change the default application ID and reopen the new session?
Thanks in advance.
source
share