0
나는 애플리케이션이 이며, 모든 것이으로 테스터 사용자로 작동합니다.facebook js sdk 로그인이 작동하지 않습니다.
var에 fbAsyncInit = 함수() {
FB.init({
appId : [APP_ID],
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true,
oauth : true
});
FB.login(function(response)
{
if (response.session)
{
if (response.perms)
{
alert('user is logged in and granted some permissions: ' + response.perms);
}
else
{
alert('logged in but didnt grant permissions');
}
}
else
{
alert('not logged in');
}
},
{scope:'publish_stream'});
} 콘솔 로그 응답은 다음과 같습니다 :
내 코드는
Object {authResponse: undefined, status: "not_authorized"}
및 테스터 사용자가 항상하지 얻을 수있다 경고에 로그인했습니다.
정말 세트로 무엇을 해야할지 모르겠군요. 그것은 작동 할 것입니다.