title: App Transport Security error for graph.facebook.com
body: <p>I'm trying to fetch a profile picture for a facebook user using this <code>SDWebImageDownloader</code> method:</p>
  
  <pre><code>NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://graph.facebook.com/%@/picture?width=%@&amp;height=%@", contact[USER_FACEBOOK_ID], @(width).stringValue, @(width).stringValue]];
  
  SDWebImageDownloader *downloader = [SDWebImageDownloader sharedDownloader];
  
  [downloader downloadImageWithURL:url options:0 progress:nil completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) {
  
      if (image) {
          [(UIButton *)view setImage:image forState:UIControlStateNormal];
      } else if (error) {
          NSLog(@"%@", error);
      }
  }];
  </code></pre>
  
  <p>And even though I've followed every step from <a href="https://developers.facebook.com/docs/ios/ios9" rel="nofollow">this guide from Facebook</a>, for some reason I'm still getting this weird error:</p>
  
  <pre><code>NSErrorFailingURLStringKey=http://graph.facebook.com/XXXXXXXXXXXXXXXX/picture?width=450&amp;height=450, NSErrorFailingURLKey=http://graph.facebook.com/XXXXXXXXXXXXXXXXX/picture?width=450&amp;height=450, NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
  </code></pre>