0

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!

2 Answers2

1

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

  • +1, or tell the user to go to their privacy settings and choose a new 'maximum visibility' for posts made by the app – Igy Jun 04 '13 at 00:07
  • I will try that. Is there any way to change that "per-post" directly from the FBRequest object? – Ezequiel Aceto Jun 06 '13 at 21:24
0

May be you need make something like this -

        FBSDKLoginManager *loginManager = [[FBSDKLoginManager alloc] init];
        loginManager.defaultAudience = FBSDKDefaultAudienceEveryone;
Nubaslon
  • 741
  • 2
  • 11
  • 27