I tried [[FBSDKLoginManager new] logOut];
and
if ([FBSDKAccessToken currentAccessToken]) {
[FBSDKAccessToken setCurrentAccessToken:nil];
[FBSDKProfile setCurrentProfile:nil];
}
and this as well as
FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];
if ( [FBSDKAccessToken currentAccessToken] ){
[login logOut];
}
but logout is not work ...any help will be appreciable Thank you..