0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Retweet is not permissible for this status.

Posted at

調べても見つからなかったのでメモを残します。

現象:
TwitterAPIにてにリツイート実施時に以下のエラーとなりました。

「Retweet is not permissible for this status.」

原因:
リツイート対象のツイートを書いたユーザが非公開ユーザだったため。

解決方法:
user.protected=trueは非公開ユーザなので、
上記の条件の場合はリツイートしない。


また、自分のツイートに対してリツイートしようとした場合にも同様のエラーメッセージが出力される模様。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?