How to open facebook page inside iframe?

by elisha_langworth , in category: Third Party Scripts , 3 months ago

How to open facebook page inside iframe?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by kadin , 3 months ago

@elisha_langworth 

To open a Facebook page inside an iframe, you can use the following HTML code:

1
<iframe src="https://www.facebook.com/YourPageNameHere" width="600" height="800"></iframe>


Replace "YourPageNameHere" with the name of the Facebook page you want to display. You can adjust the width and height of the iframe as needed.


Note that Facebook may block embedding of its pages in iframes due to security reasons, so it's possible that this method may not work for all pages.