Get if my app is authorized to use facebook [iOS 6, FB SDK 3.2]
facebook, ios, iphone, privacy, xcode
Solution
You can use the ACAccountStore to get the Facebook account(if it is available) and check if the access is granted:
ACAccountStore *accountStore = [[ACAccountStore alloc] init];
ACAccountType *accountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook];
if(accountType.accessGranted){
//app has permissions
}else{
//no permissions
}
Problem
how can i know is my app is authorized by user to use Facebook? You can enable or disable it in "Settings -> Privacy -> Facebook". I have to get this state. I'm using Facebook 3.2 Thank you all!