0
두 가지 결과로 동일한 작업을 두 번 반복합니다 !!!
내가 여기 가게를 설정하고 앱에 잘
링크를 작동 : 스크롤 막대 풀어 https://www.facebook.com/stlocarina/app_365351356883221페이 스북 iframe 앱의 스크롤 바 ...
그리고 코드 : 여기에 동일한 코드를 시도 후
<div id="fb-root"></div>
<script src="https://connect.facebook.net/en_US/all.js"></script>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '365351356xxxxxx', //Your facebook APP here
cookie : true // enable cookies to allow the server to access the session
});
}
window.onload = function() {
FB.Canvas.setAutoGrow(91);
}
</script>
을, 나는 스크롤 막대 한 . FB에서 응용 프로그램에
는링크 :이 문제를 해결하는 방법에 대한
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({
appId : '420678397xxxxxx', // App ID
channelUrl : '//www.publicityresultshosting.com//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
});
};
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({appId: '420678397xxxxxx', status: true, cookie: true, xfbml: true});
FB_RequireFeatures(["CanvasUtil"], function(){ FB.XdComm.Server.init("xd_receiver.htm");
FB.CanvasClient.startTimerToSizeToContent(); });
FB.Canvas.setAutoResize(true,500);
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
어떤 아이디어 : https://www.facebook.com/AshevilleAleTrail/app_420678397982002
여기에 내가 시도하고 자동 크기 조절하기 (매우 작동하지 먹으 렴)를 사용하고 코드입니까?
rtfm? (setAutoResize는 더 이상 사용되지 않으며 더 이상 사용되지 않습니다.) https://developers.facebook.com/docs/reference/javascript/FB.Canvas.setAutoGrow/ –