Skip to content

Instantly share code, notes, and snippets.

@Bashta
Last active July 6, 2016 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bashta/305352e77dd5b5ad66cf02172ee5f9c8 to your computer and use it in GitHub Desktop.
Save Bashta/305352e77dd5b5ad66cf02172ee5f9c8 to your computer and use it in GitHub Desktop.
let userProfileRequestParams = [ "fields" : "id, gender, name, picture, about"]
let userProfileRequest = FBSDKGraphRequest(graphPath: "me", parameters: userProfileRequestParams)
let graphConnection = FBSDKGraphRequestConnection()
graphConnection.addRequest(userProfileRequest, completionHandler: { (connection: FBSDKGraphRequestConnection!, result: AnyObject!, error: NSError!) -> Void in
}
graphConnection.start()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment