It is my understanding that when I invoke [ACAccountStore requestAccessToAccountsWithType:options:completion]
, the user is supposed to see an UIAlert that asks
You are actually missing a key: ACFacebookAudienceKey. You can change it like that:
NSDictionary *options = [[NSDictionary alloc] initWithObjectsAndKeys:
(NSString *)ACFacebookAppIdKey, @"##########",
(NSString *)ACFacebookPermissionsKey, [NSArray arrayWithObject:@"email"],
(NSString *)ACFacebookAudienceKey, ACFacebookAudienceEveryone,
nil];
By the way, when you are using Twitter, the options must be nil
.
You have inverted objects and keys in your options dictionary :
NSDictionary *options = [[NSDictionary alloc] initWithObjectsAndKeys:
@"##########", ACFacebookAppIdKey,
[NSArray arrayWithObject:@"email"], ACFacebookPermissionsKey,
nil];