简体   繁体   中英

For security reasons, framing is not allowed

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM