相关疑难解决方法(0)

Facebook错误(7)iOS 6

我收到此错误:

Error Domain = com.apple.accounts Code = 7"Facebook服务器无法满足此访问请求:代理的应用程序尚未安装." UserInfo = 0x114a7440 {NSLocalizedDescription = Facebook服务器无法满足此访问请求:代理应用程序尚未安装.}

我正在使用此代码来访问:

ACAccountStore *accountStore = [[ACAccountStore alloc] init];
ACAccountType *accountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook];

[accountStore requestAccessToAccountsWithType:accountType options:[[NSDictionary alloc] initWithObjectsAndKeys:
                                                                       @"MY APP ID", ACFacebookAppIdKey,
                                                                       nil, ACFacebookPermissionsKey,
                                                                       nil] completion:^(BOOL granted, NSError *error) {

    if (granted == YES) {

        //My code

    } else {
        NSLog(@"No Facebook access: %@", error.debugDescription);
    }
}];
Run Code Online (Sandbox Code Playgroud)

我该如何解决?

facebook ios ios6

15
推荐指数
0
解决办法
1995
查看次数

标签 统计

facebook ×1

ios ×1

ios6 ×1