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
  • 121,568
  • 97
  • 310
  • 388
Soroush Hakami
  • 5,226
  • 15
  • 66
  • 99

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,720
  • 14
  • 71
  • 104