fbsamples / messenger-bot-samples

Messenger Bot Samples
Other
555 stars 441 forks source link

Chat extensions example is broken again #29

Closed Hiestaa closed 6 years ago

Hiestaa commented 6 years ago

The messenger chat bot on https://www.messenger.com/t/MessengerTaskBot doesn't appear to be able to load the webview extension: image

When opening the iframe, the following error shows up in the client logs:

Load denied by X-Frame-Options: https://www.messenger.com/t/MessengerTaskBot?fb_iframe_origin=https%3A%2F%2Fwww.messenger.com does not permit framing.

This seems to have started happening today (Jan 18, 2018) and did not seem to happen yesterday (Jan 17, 2018). I also do not seem to be the only one to experience this issue in various cases: https://stackoverflow.com/questions/48321555/fb-messenger-webview-x-frame-options-deny-ruining-webview

Tested on Firefox 57.0.4 (64-bit), Chrome Version 63.0.3239.132 (Official Build) (64-bit) and Vivaldi 1.13.1008.40 (Stable channel) (64-bit), all on Mac OSX El Capitan Version 10.11.6.

Additional note: although the symptoms are similar to #15, it doesn't seem to be the same cause.

beng94 commented 6 years ago

FYI there's an open bug report at Facebook that might cause this: https://developers.facebook.com/bugs/147147746075305/

Hiestaa commented 6 years ago

Yeah, this definitely seem to be the cause, thank you for sharing. This ticket doesn't need to stay open then.