formatting
formatting copied to clipboard
Refused to display 'https://m.facebook.com/' in a frame because it set 'X-Frame-Options' to 'deny'.
Bug Report
Current Behavior Since a few days m.facebook.com cannot be embed anymore. The X-frame option is setted on Facebook's level to deny. Viewing an embed on mobile results in a white screen.
Steps to Reproduce
- Go to your forum with this plugin
- Click on reply or new topic
- Insert
https://www.facebook.com/themeparkmagic1/posts/1027475545840536 - Post comment and check it on mobile (or use the device emulation mode in Crome / Edge)
Expected Behavior On mobile, the facebook element has to load.
Screenshots If applicable, add screenshots to help explain your problem.
Environment
- Flarum version: 1.8.5
- Extension version: 1.0.3
- Website URL: https://forum.pretpark.club
- Webserver: apache
- Hosting environment: dedicated cluster
- PHP version: 8.1.29
- Browser: Mobile devices
Possible solution(s)
- Load regular facebook domain. Not m.facebook.com
- Don't embed facebook, or give the option to not load facebook.com as an embed.
Additional Context Direct URL of embed output: https://s9e.github.io/iframe/2/facebook.min.html#themeparkmagic1/posts/1027475545840536