question about Facebook sdk for iOS.
If I have an active session, how can I get only the user ID?
Is there an easy way to get this identifier without using this sample code?
if (FBSession.activeSession.isOpen) { [[FBRequest requestForMe] startWithCompletionHandler: ^(FBRequestConnection *connection, NSDictionary<FBGraphUser> *aUser, NSError *error) { if (!error) {
Safari
source share