I want to Display Facebook's Webpage on my site ?
<html>
<body>
<iframe src="http://www.facebook.com/" name="iframe_a"></iframe>
</body>
</html>
This just show's me an image of Facebook but not the actual content. How can i do that ?
I tried and used Php and then echoed the content on the screen that some how worked But In that case , I cant understand How shall i Login Into facebook. When i Login it get's redirected to the Main Site.
Theoretically it should be possible to do it in the following steps:
document.write
to release the modified HTML for the browser to parse and render.This is the same principle how Javascript-function-overriding works with GreaseMonkey [1]. In [2, 3], you will find how functions can be overridden with Javascript.
it makes really no sense to display facebook in an iframe on your website.
if you want to display facebook content on your page use Facebook Badges
Iframe your facebook content like this:
I think that Facebook is blocking its usage within an iframe tag.
Use Facebook API to get your wall posts, and then display them where you like. http://developers.facebook.com/
This is the code facebook embedded in its pages.
This code checks if its embedded in iframe its blocks loading other data rather loads the the link to which you can click with an image.