Sdk 外部网站Facebook登录已停止工作

Sdk 外部网站Facebook登录已停止工作,sdk,facebook-c#-sdk,Sdk,Facebook C# Sdk,当我尝试使用facebook登录我的网站时,我被重定向到了facebook,直到昨天它还运行得很好。我正在使用facebook sdk和此代码 Facebook.Components.FacebookService _fbService=新建Facebook.Components.FacebookService private const string FACEBOOK_API_KEY = "MY KEY"; private const string FACEBOOK_SECRET = "MY

当我尝试使用facebook登录我的网站时,我被重定向到了facebook,直到昨天它还运行得很好。我正在使用facebook sdk和此代码

Facebook.Components.FacebookService _fbService=新建Facebook.Components.FacebookService

private const string FACEBOOK_API_KEY = "MY KEY";
private const string FACEBOOK_SECRET = "MY SECRET";


protected void Page_Load(object sender, EventArgs e)
{

    // ApplicationKey and Secret are acquired when you sign up for 
    _fbService.ApplicationKey = FACEBOOK_API_KEY;
    _fbService.Secret = FACEBOOK_SECRET;
    _fbService.IsDesktopApplication = false;

    string sessionKey = Session["facebook_session_key"] as String;
    string userId = Session["facebook_userId"] as String;

    // When the user uses the facebook login page, the redirect back here will will have the auth_token in the query params
    string authToken = Request.QueryString["auth_token"];

    // We have already established a session on behalf of this user
    if (!String.IsNullOrEmpty(sessionKey))
    {
        _fbService.SessionKey = sessionKey;
        _fbService.UserId = userId;
    }
    // This will be executed when facebook login redirects to our page
    else if (!String.IsNullOrEmpty(authToken)) 
    {
        _fbService.CreateSession(authToken);
        Session["facebook_session_key"] = _fbService.SessionKey;
        Session["facebook_userId"] = _fbService.UserId;
        Session["facebook_session_expires"] = _fbService.SessionExpires;
    }
    // Need to login
    else 
    {
        Response.Redirect(@"http://www.facebook.com/login.php?api_key=" + _fbService.ApplicationKey + @"&v=1.0");
    }
facebook是否有任何改变会阻止这项工作

编辑*-当我清除缓存并尝试登录此url处的页面STLL时

%22%2C%22sig%22%3A%2246AD34E0D00FAE8CD9F9CF2DAE78FF3%22%7D=>http://www.facebook.com/connect/uiserver.php?installed=1&session=%7B%22session_key%22%3A%222.AQDNqYfHvJC-yjVP.3600.1351616400.1-585225540%22%2C%22uid%22%3A585225540%2C%22%3A1351616400%2C%22secret%22%3A%22cfsNjFRrPQuTxs_zQ8wF8Q_U8;%22%2C%22sig%22%3A%2246ad34e0d00fae8cd9f9cf2daee78ff3%22%7D=_

它好像不能重定向到我的网站