I am using following bunch of code in button action to invite facebook friend.
[FBWebDialogs
presentRequestsDialogModallyWithSession:nil
message:NSLocalizedString(@"FBinviteMessage", nil)
title:nil
parameters:nil
handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {}
];
This code shows a login view on its own if the user is not logged in. What I want to know is that how to get logged in user information if using above code.
Please dont use FBWebDialogs, it is deprecated by Facebook. https://developers.facebook.com/docs/reference/ios/3.9/class/FBWebDialogs
Please refer this to get latest SDK and use Facebook documentation for implementing this.