title: How to write Facebook Graph Request for the new swift 3?
body: <p>I'm trying to use the new <code>FacebookSdk</code> for <code>Swift3</code>, but I can't figure out how to accomplish a simple <code>Graph</code> request. I definitely have it all wrong. this is what I have below. has anyone figured it out?</p>
  
  <pre><code>    import FacebookCore
      import FacebookLogin
      import FacebookShare
  
  
  
      let parameters = ["fields": "id, name, gender, picture.width(300).height(300).type(large).redirect(false)"]
                  let nextrequest: GraphRequest = GraphRequest(graphPath: "me", parameters: parameters, accessToken: AccessToken.current, httpMethod: GraphRequestHTTPMethod(rawValue: "GET")!)
  
  
                  nextrequest.start({ (response: HTTPURLResponse?, result: GraphRequestResult&lt;GraphRequest&gt;) in
  
  
  
                      if error != nil {
                      }
  
  if let name = result["name"] as? String, let id = result["id"] as? String, let gender = result["gender"] as? String {
                     print(name)
                     print(id)
                     print(gender)
   } 
  else {}
                  })
  </code></pre>