title: Getting profile picture with swift through Facebook Graph API return "unsupported URL"
body: <p>I'm developing an app for iOS that user should login with facebook. So i'm trying to get the users profile picture but the following code is returning <code>&quot;unsupported URL&quot;</code></p>
  <pre><code>FBRequestConnection.startWithGraphPath(&quot;\(userID)/picture?type=large&amp;access_token=207613839327374|BgKi3AePtvg1oDO8GTbWqqLE_SM&quot;, completionHandler: { (connection, result, error) -&gt; Void in
     if (error? != nil){
        NSLog(&quot;error = \(error)&quot;)
     }else{
        println(result)
     }
  })
  </code></pre>
  <hr />
  <h2>UPDATE</h2>
  <p>The following change:</p>
  <pre><code>FBRequestConnection.startWithGraphPath(&quot;\(userID)/picture?type=large&quot;, completionHandler: { (connection, result, error) -&gt; Void in
    if (error? != nil){
      NSLog(&quot;error = \(error)&quot;)
    }else{
      println(result)
    }
  })
  </code></pre>
  <p>Is returning:</p>
  <pre><code>error = Error Domain=com.facebook.sdk Code=6 &quot;Response is a non-text MIME type; endpoints that return images and other binary data should be fetched using NSURLRequest and NSURLConnection&quot; UserInfo=0x786d4790
  </code></pre>