【问题标题】:Sometimes "The specified feature has been temporarily disabled for this application"有时“此应用程序的指定功能已暂时禁用”
【发布时间】:2013-05-09 09:50:24
【问题描述】:

它有时会返回:

{"error_code"=>"2000", "error_message"=>"此应用程序的指定功能已暂时禁用", "state"=>"d022a262e11b1a8bebe4bccb86319514e870fb6657b6aee8"}

使用 facebook 登录时来自 facebook

apache_log:

85.135.128.63 - - [08/May/2013:19:07:40 +0200] "GET /users/auth/facebook HTTP/1.1" 302 250 "http://www.itolar.com/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31"
85.135.128.63 - - [08/May/2013:19:07:41 +0200] "GET /users/auth/facebook/callback?error_code=2000&error_message=The+specified+feature+has+been+temporarily+disabled+for+this+application&state=d022a262e11b1a8bebe4bccb86319514e870fb6657b6aee8 HTTP/1.1" 500 728 "http://www.itolar.com/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31"

但是当我尝试使用两个不同的帐户做同样的事情时,一切正常 我在 Ruby on Rails 上使用omniauth-facebook

有人知道怎么回事吗?

【问题讨论】:

    标签: facebook facebook-graph-api ruby-on-rails-3.2 omniauth


    【解决方案1】:

    听起来您可能达到了速率限制。尝试减少调用频率和/或优化它们(即通过批量调用)。还要检查 App Insights -> 活动和错误。

    【讨论】:

      猜你喜欢
      • 2017-12-29
      • 2019-09-14
      • 2018-11-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-27
      • 1970-01-01
      • 2014-11-19
      相关资源
      最近更新 更多