0

My application is fully working at an url like myapp.com/ , the base directory is automatically loading index.html

When I edit the application to be a canvas app and setting its canvas url to myapp.com/ When accessing the page http://apps.facebook.com/myapp it gives me an error:

POST http://myapp.com/ 404 (Not Found)
Refused to display document because display forbidden by X-Frame-Options.

Anyone have an idea what could be the cause of this?

Jonas
  • 109,920
  • 93
  • 295
  • 369
Soroush Hakami
  • 4,966
  • 14
  • 62
  • 98

1 Answers1

0

'X-Frame-Options' is your clue. This is a header your webserver is sending out. Be sure you send the correct

See also:

Overcoming "Display forbidden by X-Frame-Options"

Community
  • 1
  • 1
DMCS
  • 31,608
  • 14
  • 69
  • 104