embed Facebook workplace feed into wordpress without plugin code example

Example 1: Embed Facebook feed into website

<div class="fb-page" 
data-href="https://www.facebook.com/facebook"
data-width="380" 
data-hide-cover="false"
data-show-facepile="false"></div>

Example 2: Embed Facebook feed into website

<div style="width: 100px;">
<!-- Page plugin's width will be 180px -->
<div class="fb-page" data-href="{url}" data-width="320"></div>
</div>

Example 3: 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>

Tags:

Html Example