버전 4.2.1로 업그레이드 한 후 문제가 있습니다. 내가 아약스 게시물을 할 때, 메신저는 여전히 authorizer.IsAuthorized()IsAuthorized = False, Facebook C# SDK 4.2.1
Default.aspx를 허위 점점 :
$('.WallPost').click(function(e){
//get the form
var f = $("#<%=Page.Form.ClientID%>");
//get the action attribute
var action = 'http://www.domain.com/FacebookTestZone/Call/WallPost.aspx';
//get the serialized data
var serializedForm = f.serialize();
$.post(action, serializedForm,
function(txt) {
alert(txt);
}
);
});
WallPost.aspx.cs : 당신이이
fbApp = new FacebookApp();
authorizer = new CanvasAuthorizer(fbApp);
if (authorizer.IsAuthorized())
{
Response.Write("IsAuthorized = True");
}
else
{
Response.Write("IsAuthorized = False");
}
이전 버전이 확인했다 cookieSupport = ... 내가 결정을 "더 이상 지원 쿠키"를 잘 해요 Web.config의 – khalil