/ * ВНИМАНИЕ НИЖЕ * / говорит, что если ваше приложение https, тогда библиотека fb javascript будет https.
Вы можете проверить свой код
window.fbAsyncInit = function () {
FB.init({ appId: /*123456789*/', status: true, cookie: false, xfbml: true });
};
(function () {
var e = document.createElement('script'); e.async = true;
/* ATTENTION BELOW */
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
} ());