1. 7月17日のツイートを最後に動かなくなった
2. Google App Engine 上で Twitter4J を使用している
3. ローカル環境からテストツイートをするとうまくいく
4. GAE にデプロイするとツイート時にエラーが出る(詳細は下記)
何が原因と考えられますでしょうか?
ツイート時に下記のようなエラーが出ます。
ちなみにダイレクトメッセージは使ってません。
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-...).
message - You cannot send messages to users who are not following you
code - 150
最終的にフォローしてないユーザーにメッセージを送ろうとしているからダメだという話にみえます。
ブロックではなくフォロー解除したユーザーがいたのでは。