Reputation: 1
Trying to set up my first FB app, I tried using different PHP example codes, but for some reason when I try to access the app, I always get a Java window saying For security reasons, framing is not allowed
. I have SSL on my server, and another FB app on my server that's not using FB SDK
is working fine. Anyone has any ideas?
Upvotes: 0
Views: 3599
Reputation: 24549
You will get that same error on StackOverflow if you try to open it in a frame as well. This is due to security concerns as it is the first step towards clickjacking a site. See this Coding Horror blog post for a full explanation.
TL;DR; Don't frame external sites...including FB which is in a different space than your server.
Upvotes: 3