FB Javascript SDK getPageInfo doesn’t call the callback function inside it when https is turned on facebook
FB.Canvas.getPageInfo(
function(pageinfo) {
scrollBarPosition = pageinfo.scrollTop;
console.log("scrollbarposition"+scrollBarPosition);
});`
console.log is not printed in firebug
Seems to me like you have encountered a regression in the API: Link
I would file a bug if I were you.