Reputation: 119
<iframe src="https://www.facebook.com/MYUSERNAME/?ref=hl"> </iframe>
I've been trying this code: but it just don't work out , Kindly suggest me something here .
Upvotes: 0
Views: 36
Reputation: 1540
You can't because of security issues; Refused to display 'facebook.com/goforazhar/?ref=hl%22%3E'; in a frame because it set 'X-Frame-Options' to 'DENY'.
Facebook denies it pages from being loaded into iFrame. Refer "X-Frame-Options" documentation for more details; https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options
Upvotes: 1