BRAND NEW ON E!
// Custom eonline.com implementation of the FB Like DOM insertion code, since Facebook keeps breaking their like buttons. window.fbAsyncInit = function() { FB.init({ "appId": "195662528604", // App ID "status": "true", // check login status "cookie": "true", // enable cookies to allow the server to access the session "xfbml": "true" // parse XFBML }); }; var i18nEdition = eonline.socialMediaIcons.getIntlEdition(); var js = document.createElement('script'); js.async = true; js.id = 'facebook-jssdk'; js.src = '//connect.facebook.net/' + i18nEdition + '/all.js#xfbml=1&appId=195662528604'; var obj = document.getElementById('facebook-jssdk'); if (!obj) { if (document.head) { document.head.appendChild(js); } else if (document.getElementsByTagName('head')) { // IE 7 document.getElementsByTagName('head')[0].appendChild(js); } }
BRAND NEW ON E!