Hi,
I cannot show images from Facebook in my app. I get ‘403 Forbidden’. This has worked for me for several months, but suddenly stopped working after a new build. I suspect something has changed in Cordova in the meantime. It’s probably something to do with ‘content-security-policy’, but I can’t seem to figure out what i’m missing.
https://scontent.xx.fbcdn.net/v/t1.0-1/p100x100/xxx_n.jpg?oh=xxx&oe=xxx Failed to load resource: the server responded with a status of 403 (Forbidden)
I have <access origin="*"/>
in plugins.xml
, and in index.html
:
<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://*;">
Any ideas?
Thanks.