I'm developing a Messenger application featuring wevbiews
It used to work fine on web but at some point it started showing this:
Refused to display 'https://www.messenger.com/t/EAPdevelopment?fb_iframe_origin=https%3A%2F%2Fwww.messenger.com' in a frame because it set 'X-Frame-Options' to 'deny'.
I have no idea what could go wrong, moreover, I've always sent this:
header('X-Frame-Options: ALLOW-FROM https://www.messenger.com/');
header('X-Frame-Options: ALLOW-FROM https://www.facebook.com/');
to server anyway.
How is is possible to resolve this issue?
X-Frame-Options
error message. github.com/fbsamples/messenger-bot-samples/issues/15 – Doorbellphp
file that theiframe
navigates to? – Rootjavascript
, but once fixed everything displays fine as in the webview from the mobile app... I wonder now if they are essential.. – Root