when i navigate to profiles page in my app it displayed popup message for Granting access to Facebook from my app.
its works fine for don't allow
When i tap on ok it gets granted access but the alert view displayed again and again. How to avoid this issue or remove alert once granted / not alllowed
//setupSocialConfigeration
ACAccountStore *accountStore = [[ACAccountStore alloc] init] ;
ACAccountType *facebookAccountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook];
NSDictionary *dictFB = [NSDictionary dictionaryWithObjectsAndKeys:@"258220404379843", ACFacebookAppIdKey,@[@"email"],ACFacebookPermissionsKey, nil];
[accountStore requestAccessToAccountsWithType:facebookAccountType options:dictFB completion:
^(BOOL granted, NSError *e) {
if (granted)
{
NSLog(@"xxxx");
}
}];