I do not think that FBSDKLog: starting with Graph API v2.4, GET requests for /me should contain an explicit "fields" parameteris actually a mistake. This is just a magazine. If you run the code and set a breakpoint, you will find that it is actually a mistake nil, and you can successfully compile the code and see part of elsethe code that is being executed.
name Facebook, name fields. name null. name .
let params = ["fields": "name, email, friends"] <----- This line
:
let graphRequest: FBSDKGraphRequest = FBSDKGraphRequest(graphPath: "me", parameters: ["fields": "name, email, friends"])
name, email and friends Facebook.