문제

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