acaccount

Getting “Error Code 8” When Calling [ACAccountStore requestAccessToAccountsWithType] - iOS Facebook

你说的曾经没有我的故事 提交于 2019-12-01 06:49:38
I have been searching Google and SO and cannot find what com.apple.accounts Error Code 8 means. I am attempting to use iOS 6 and the Facebook SDK. I run this request; if (!_accountStore) _accountStore = [[ACAccountStore alloc] init]; ACAccountType *fbActType = [_accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook]; NSDictionary *options = [[NSDictionary alloc] initWithObjectsAndKeys: (NSString *)ACFacebookAppIdKey, @"###############", (NSString *)ACFacebookPermissionsKey, [NSArray arrayWithObject:@"email"], nil]; [_accountStore requestAccessToAccountsWithType

Getting “Error Code 8” When Calling [ACAccountStore requestAccessToAccountsWithType] - iOS Facebook

情到浓时终转凉″ 提交于 2019-12-01 05:03:15
问题 I have been searching Google and SO and cannot find what com.apple.accounts Error Code 8 means. I am attempting to use iOS 6 and the Facebook SDK. I run this request; if (!_accountStore) _accountStore = [[ACAccountStore alloc] init]; ACAccountType *fbActType = [_accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook]; NSDictionary *options = [[NSDictionary alloc] initWithObjectsAndKeys: (NSString *)ACFacebookAppIdKey, @"###############", (NSString *

ACAccountStore Error 5

不羁的心 提交于 2019-12-01 03:17:41
When attempting to save an account into an ACAccountStore, I sometimes receive this error. Later, if I attempt to access this account, I find that it's actually been saved. So far, I've yet to find any information about this nondescript error. Does anyone know what it means? Error Domain=com.apple.accounts Code=5 "The operation couldn't be completed. (com.apple.accounts error 5.)" This question is a little dated, but I'm struggling in the same area. Here's one thing that should help: I did find documentation on the error codes: typedef enum ACErrorCode { ACErrorUnknown = 1,

ACAccountStore Error 5

烈酒焚心 提交于 2019-11-30 23:37:31
问题 When attempting to save an account into an ACAccountStore, I sometimes receive this error. Later, if I attempt to access this account, I find that it's actually been saved. So far, I've yet to find any information about this nondescript error. Does anyone know what it means? Error Domain=com.apple.accounts Code=5 "The operation couldn't be completed. (com.apple.accounts error 5.)" 回答1: This question is a little dated, but I'm struggling in the same area. Here's one thing that should help: I

Using SLRequest in iOS 6 with Facebook

独自空忆成欢 提交于 2019-11-30 10:32:45
I'm currently trying to use an SLRequest to post a status on to facebook this is the code i have: ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccountType *accountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook]; NSLog(@"0"); [accountStore requestAccessToAccountsWithType:accountType options:@{ACFacebookAppIdKey : @"00000000000", ACFacebookPermissionsKey : @"publish_stream", ACFacebookAudienceKey : ACFacebookAudienceFriends} completion:^(BOOL granted, NSError *error) { if(granted) { NSLog(@"1"); NSArray *accountsArray = [accountStore

Using SLRequest in iOS 6 with Facebook

自古美人都是妖i 提交于 2019-11-29 15:43:46
问题 I'm currently trying to use an SLRequest to post a status on to facebook this is the code i have: ACAccountStore *accountStore = [[ACAccountStore alloc] init]; ACAccountType *accountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook]; NSLog(@"0"); [accountStore requestAccessToAccountsWithType:accountType options:@{ACFacebookAppIdKey : @"00000000000", ACFacebookPermissionsKey : @"publish_stream", ACFacebookAudienceKey : ACFacebookAudienceFriends}