Skip to content

Instantly share code, notes, and snippets.

View mauroheinrich's full-sized avatar

mauro heinrich mauroheinrich

View GitHub Profile
@mauroheinrich
mauroheinrich / facebook_page_plugin.html
Created March 16, 2023 17:01 — forked from RopoMen/facebook_page_plugin.html
Simple way to resize Facebook's new Page plugin
<!--
Width 10000px is quite wide, but it has room for new "max", also because Facebook's "adaptation" means only shrinking
the Page plugin to fit smaller container. To use Page plugin with larger container than 500px (current max.) you could try
to add example Bootstrap class '.center-block' which would center the Page plugin inside larger container.
-->
<div class="row">
<div class="column-xs-6">
<div class="fb-page center-block" data-width="10000" data-adapt-container-width="true" data-href="https://www.facebook.com/facebook"></div>
</div>
</div>