Twitter api 2014/1/14問題
スマホのアプリでTwitter APIを使用しているのですが、2014年に入ってからうんともすんとも動かなくなりました。ログを確認すると以下のメッセージが出力されていました。
403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). Relevant discussions can be found on the Internet at: http://www.google.co.jp/search?q=10f5ada3 or http://www.google.co.jp/search?q=e574402b TwitterException{exceptionCode=[10f5ada3-e574402b], statusCode=403, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=3.0.3}
調べてみると2014/1/14以降、HTTPでは使用できなくなることが判明。SSLを使用せよとのこと。
APIを3.0.5以降にアップグレードしたところ、無事動作しました。
http://stackoverflow.com/questions/21134176/twitterexception-unable-to-login