Sometimes on our WordPress websites, we display multiple types of Facebook widgets like Facebook page widgets, Facebook-like boxes, etc. By adding those widgets, some by default Facebook JS is also get added to the website.
But those JS sometimes create ‘Defer parsing’ issues on the website.
By doing some research I found a working way to fix that Facebook JS ‘Defer parsing’ issue.
Just use the below line of code between the opening and closing <header> tag.
<div id="fb-root"></div> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v3.3"></script>
That’s it. The above code should do the magic to fix the Facebook Defer Parsing of JavaScript issue.
For more info, you can visit this page.