title: How to allow images from facebook cdn in Ionic app?
body: <p>I suddenly can't load profile images from Facebook (<a href="https://scontent.xx.fbcdn.net" rel="nofollow noreferrer">https://scontent.xx.fbcdn.net</a>) in my Ionic 1 app (Firebase auth with Facebook provider). This has worked before, but now I just get a blank image (probably some sort of 4xx error code?). Both iOS and Android.</p>
  
  <p>I have the <code>cordova-plugin-whitelist</code> installed, and my <code>config.xml</code> has <code>&lt;access origin="*"/&gt;</code>.</p>
  
  <p>I have tried to add the <code>content-security-policy</code> meta-tag without any luck: </p>
  
  <pre><code>&lt;meta http-equiv="Content-Security-Policy" content="img-src *  blob: android-webview-video-poster: cdvphotolibrary:  'self' data: ws: wss://*; default-src * blob: 'self' gap: wss: ws: data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src * http: https: ws: wss://*;"&gt;
  </code></pre>
  
  <p>Any ideas? I know that this has previously worked, so there might have been some changes in Cordova or iOS/Android causing this?</p>
  
  <p>Thank you!</p>
  
  <p><strong>UPDATE</strong>:</p>
  
  <p>I tried to use other external images, for instance a random one from a newspaper, and i worked. Can this be a Facebook-auth error, of some sort?</p>
  
  <pre><code>ionic info
  --------------------------------
  --------------------------------
  
  Your system information:
  
  Cordova CLI: 6.3.1
  Gulp version:  CLI version 1.2.1
  Gulp local:   Local version 3.9.1
  Ionic Framework Version: 1.3.2
  Ionic CLI Version: 2.1.1
  Ionic App Lib Version: 2.1.1
  ios-deploy version: 1.8.6 
  ios-sim version: 5.0.6 
  OS: Mac OS X Sierra
  Node Version: v4.4.0
  Xcode version: Xcode 8.3.1 Build version 8E1000a
  </code></pre>