facebook plugin for wordpress code example

Example 1: 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 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&appId=YOURAPPID" nonce="wptX8Zga"></script>

Tags:

Html Example