For my application I need to embed Facebook page in an iframe, here is the html code:
<html>
<head></head>
<body>
<iframe src="http://www.facebook.com" style="width:100%;height:100%">
</body>
</html>
But it does not work, any idea why and how to circumvent ?
I belive facebook as an anti framing script. It detects if it is within a iframe and shows a logo which when you click on takes you out of the iframe. Maybe they have an sdk which allows authenticate first and then it will allow the iframe. I Don’t know.
More Info: http://developers.facebook.com/search?q=Fb:iframe