Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refused to display 'https://m.facebook.com/' in a frame because it set 'X-Frame-Options' to 'deny'. #43

Open
johnvanhulsen opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@johnvanhulsen
Copy link

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

  1. Go to your forum with this plugin
  2. Click on reply or new topic
  3. Insert https://www.facebook.com/themeparkmagic1/posts/1027475545840536
  4. 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

@johnvanhulsen johnvanhulsen added the bug Something isn't working label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant