wordpress embed facebook post without a plugin code example
Example 1: Embed Facebook feed into website
js.src = "https://connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.5";
Example 2: wordpress embed facebook post without a plugin
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v8.0" nonce="wptX8Zga"></script>
Example 3: Embed Facebook feed into website
<div style="width: 190px;">
<div class="fb-page" data-href="{url}" data-width="420"></div>
</div>
Example 4: Embed Facebook feed into website
<div class="fb-page"
data-tabs="timeline,events,messages"
data-href="https://www.facebook.com/YoloBookStore"
data-width="380"
data-hide-cover="false"></div>
Example 5: wordpress embed facebook post without a plugin
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v8.0&appId=YOURAPPID" nonce="wptX8Zga"></script>
Example 6: Embed Facebook feed into website
<div style="width: 100px;">
<div class="fb-page" data-href="{url}" data-width="320"></div>
</div>