Question

My iOS app starts with "Friends" as default audience. I would like to let the user change the default audience to, for example, "Everyone" from inside the iOS App.

I have tried clearing the tokens, and reopening the session with the new audience, and also reauthorising an existent and valid session with the new audience. Both did not work.

What it's the right way to change the default audience from the iOS SDK?

Thanks!

No correct solution

OTHER TIPS

You can deauthorize the app and re-request for publish permissions for user to see the extended permission dialog.

May be you need make something like this -

        FBSDKLoginManager *loginManager = [[FBSDKLoginManager alloc] init];
        loginManager.defaultAudience = FBSDKDefaultAudienceEveryone;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top