Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all,
I have written HTML code to show Facebook Home page in the page itself.I have written the below code in the html Page

XML
<html>
  <body>
    <iframe src="http://www.facebook.com/#" name="iframe1" width="100%" height="100%" frameborder="0" id="iframe" allowtransparency="no" scrolling="no"></iframe>
  </body>

</html>


But i am not getting Facebook navigation page directly in Iframe can any one tell me how to solve this problem

Thanks,
MOHAMMAD SIDDIQALI.
Posted

I think facebook no longer allows you to embed into an IFrame.

http://stackoverflow.com/questions/2267523/i-want-to-embed-facebook-in-an-iframe-one-way-or-another[^]
 
Share this answer
 
Comments
SAM_India 13-Sep-11 3:40am    
Hi Om,
Thanks for your quick response.It's little bit of confusing .Can you write example and post here.

Thanks,
MOHAMMAD SIDDIQALI.
You are trying to display facebook website inside in iframe. Facebook detects if the URL is within a iframe and redirects...

more info:

http://developers.facebook.com/search?q=Fb:iframe[^]
http://stackoverflow.com/questions/5352759/how-to-embed-a-facebook-page-in-an-iframe[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900