代码之家  ›  专栏  ›  技术社区  ›  Mikos

Facebook oAuth 400错误来自ASP.NET应用

  •  1
  • Mikos  · 技术社区  · 14 年前

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request.
    
    Source Error:
    
    Line 231:        {
    Line 232:                        
    Line 233:            webRequest.GetResponse().GetResponseStream().Close();           
    Line 234:            
    Line 235:            responseReader.Close();
    
    2 回复  |  直到 14 年前
        1
  •  3
  •   Ganesh Krishnan    14 年前

    这真是个烂脸谱。他们至少应该警告开发商。

        2
  •  1
  •   zgirod    14 年前

    如果有人发现这个页面是因为他们在facebook上的错误是400,我的问题是我的重定向URL以/。

    因此,对于重定向URL:

    http://www.website.com/oauth/callback/
    http://www.website.com/oauth/callback -很好

    我希望这有助于某人。。