How can I get facebook window height from iframe?
javascript
Solution
If your're using the Facebook JavaScript SDK, you could use `FB.Canvas.getPageInfo()`
FB.Canvas.getPageInfo(
function(info) {
console.log('Height: ' + info.clientHeight);
}
);
Problem
I want to get facebook window height using javascript from my iframe. However window.innerHeight gives me the height of the iframe. How can I solve this problem ?