質問

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!

正しい解決策はありません

他のヒント

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;
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top