Unable to get value of the property 'closed': object is null or undefined lors du login en local avec Internet Explorer

Si vous souhaitez développer un site qui met en place de l’authentification Facebook, vous allez surement être confronté à ce problème sous Internet Explorer. En effet, la configuration par défaut d’Internet Explorer pour les sites intranet pose problème lors de l’authentification via le SDK Javascript de Facebook. Le code: <div id="fb-root"></div> <pre> <script type="text/javascript">// <![CDATA[ window.fbAsyncInit = function () { FB.init({ appId: 'VOTRE_APPID', channelUrl: '//CHANNEL_URL', // Channel File status: true, // check login status // enable cookies to allow the server to access the session cookie: true, xfbml: true // parse XFBML }); // whenever the user logs in, we tell our login service FB. [Voir plus]