php - Displaying Facebook in an Iframe on my website -


i want display facebook's webpage on site ?

<html> <body>     <iframe src="http://www.facebook.com/" name="iframe_a"></iframe> </body> </html> 

this show's me image of facebook not actual content. how can ?

i tried , used php , echoed content on screen how worked in case , cant understand how shall login facebook. when login get's redirected main site.

this code facebook embedded in pages.

if (top != self) { try { if (parent != top) { throw 1; } 

this code checks if embedded in iframe blocks loading other data rather loads the link can click image.

<script type="text/javascript">         /* <![cdata[ */if (top != self) {             try { if (parent != top) { throw 1; }             var disallowed = ["apps.facebook.com","\/pages\/","apps.beta.facebook.com"];             href = top.location.href.tolowercase();                (var = 0; < disallowed.length; i++) {                   if (href.indexof(disallowed[i]) >= 0) { throw 1; }                }            } catch (e) {              settimeout(                    function() {var fb_cj_img = new image();                        fb_cj_img.src = "http:\/\/error.facebook.com\/common\/scribe_endpoint.php?c=si_clickjacking&m=on\u002509&t=8183";}, 5000);          window.document.write("\u003cstyle>body * { display:none !important; }\u003c\/style>\u003ca href=\"#\" onclick=\"top.location.href=window.location.href\" style=\"display: block !important; padding: 10px\">\u003ci class=\"img sp_8dfqpl sx_d67a9a\" style=\"display:block !important\">\u003c\/i>go facebook.com\u003c\/a>");    /* xrcm4hhw */ }}/* ]]> *    </script> 

Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -