이전 featureloader JS SDK는 더 이상 사용되지 않으며 이미 삭제되었다고 생각됩니다. 여전히 작동 중이면 즉시 사용을 중지하고 현재 SDK를 살펴보아야합니다. 로그인을 구현하는 방법에 대한 설명서를 제공합니다. 처음에는
상기 current JS SDK를 포함하는 방법이다 :
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'YOUR_APP_ID', // App ID
channelUrl : '//WWW.YOUR_DOMAIN.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
});
// Additional initialization code here
};
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
</script>
출처
2012-05-31 19:16:33
Igy
는 @lgy. 이 appid를 얻는 방법. 이 과정이 있습니까? – Tronics
아마도 앱을 가지고 있다면 이미 가지고있는 앱이있을 것입니다 - developers.facebook.com/apps는 앱을 나열합니다 – Igy
은 역 호환이 가능합니까? – Tronics