// Clean SDK initialization without HTML tags (function() { var fbRoot = document.getElementById('fb-root'); if (!fbRoot) { fbRoot = document.createElement('div'); fbRoot.id = 'fb-root'; document.body.prepend(fbRoot); } var js = document.createElement('script'); js.id = 'facebook-jssdk'; js.async = true; js.defer = true; js.crossOrigin = 'anonymous'; js.src = 'https://facebook.net'; document.head.appendChild(js); })();
Skip to main content