I\'ve just \"upgraded\" my Facebook SDK to 4.0 for my iOS app.
I\'ve got the log in working okay, however, according to the documentation, I\'m now supposed to use
Swift 4 version,
FBSDKProfile.loadCurrentProfile(completion: { profile, error in let url = profile?.imageURL(for: FBSDKProfilePictureMode.square, size: self.imageview.frame.size) })