Previously, you could use the following function when initializing an application:
FBSDKApplicationDelegate.sharedInstance().application(application, didFinishLaunchingWithOptions: didFinishLaunchingWithOptions) In Swift 3 didFinishLaunchingWithOptions absent in principle.
Maybe you know how to make Swift 3 friends with the SDK from Facebook?
The SDK is needed to authorize and get the id, name, date of birth, email whenever possible and of course the token.