ios - How to get verified status of Facebook user in Facebook sdk v3.12 -


i trying access verified status of logged in user.below code have tried faar.i getting verified value null when login using code.is there other permission need add in order access verified status? greatfull.

login

fbloginview *loginview =[[fbloginview alloc] initwithreadpermissions:@[@"basic_info", @"email", @"user_birthday",@"user_location"]];     loginview.delegate=self;     [self.view addsubview:loginview]; 

login delgate method

- (void)loginviewfetcheduserinfo:(fbloginview *)loginview                             user:(id<fbgraphuser>)user { nslog(@"userinfo %@",[user objectforkey:@"verified"]); } 

finally got it.it "user_status" permission had add in order verified status.

fbloginview *loginview =[[fbloginview alloc] initwithreadpermissions:@[@"basic_info", @"email", @"user_birthday",@"user_location",@"user_status"]];  

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -