Reputation: 163
As it can be seen here facebook does not appear in iframe
. My question is facebook blocking it some way, if so how can I do this. I obviously don't want complete solution but little help would be great.
Upvotes: 0
Views: 56
Reputation: 129
Facebook forbids being loaded into an iframe. If you check your debug console you will see the following:
Refused to display 'https://www.facebook.com/' in a frame because it set 'X-Frame-Options' to 'DENY'.
Upvotes: 1
Reputation: 5361
see this:
https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options
Facebook denies people from viewing it in an iframe.
Refused to display 'https://www.facebook.com/' in a frame because it set 'X-Frame-Options' to 'DENY'.
Upvotes: 1
Reputation: 59232
Refused to display 'https://www.facebook.com/' in a frame because it set 'X-Frame-Options' to 'DENY'.
Basically search for X-Frame and CORS
Upvotes: 1