Advertisement
Guest User

SignUpViewController

a guest
Feb 9th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.50 KB | None | 0 0
  1. let graphRequest = FBSDKGraphRequest(graphPath: "me", parameters: ["fields": "id, name, gender, email"])
  2.         graphRequest.startWithCompletionHandler ({ connection, result, error in
  3.             if error != nil {
  4.                 //onError()
  5.                 print(error)
  6.                 return
  7.             } else {
  8.                      let fbResult = result as! Dictionary<String, AnyObject>
  9.                      print("FbResult \(fbResult)")
  10.                    
  11.                     }
  12.         })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement