Last active
December 25, 2015 00:19
-
-
Save niraj-shah/6887230 to your computer and use it in GitHub Desktop.
Removing Facebook Page App Scrollbars
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.fbAsyncInit = function() { | |
FB.init({ | |
appId : 'xxx', // App ID | |
channelUrl : 'channel.html', // Channel File | |
status : true, // check login status | |
cookie : true, // enable cookies to allow the server to access the session | |
xfbml : true // parse XFBML | |
}); | |
// Remove those pesky scrollbars | |
FB.Canvas.setAutoGrow(true); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment