アプリ開発備忘録

PlayStationMobile、Android、UWPの開発備忘録

引用RT時不適切なツイートを表すpossibly_sensitiveが機能しない。

はじめに

英語苦手です。間違ってたら言ってね。
Twitter4J使用
4JだとisPossiblySensitiveで取得できます。

引用RTの時にpossibly_sensitiveが機能しませんでした。
trueしか帰ってこない。

引用

Tweets | Twitter Developersより

possibly_sensitive
Boolean

Nullable.
This field only surfaces when a tweet contains a link.
The meaning of the field doesn’t pertain to the tweet content itself, but instead it is an indicator that the URL contained in the tweet may contain content or media identified as sensitive content

一つ目「Nullable」

不適切なツイートを表す値がnull許容型ってどうなんですかこれ。

二つ目「This field only surfaces when a tweet contains a link.」

This field only surfaces. ちょっとよく掴めないがsurfaces、表面だから引用RTの時など機能しないということを表しているのか。

コメントより(ありがとうございます。)
「ツイートがリンクを含むときだけ、このフィールドが表われる」そうなので文字列だけの場合は不適切にならないってことだったみたいですね。なのでこの項目は関係なさそうです。

引用RTの画像表示することもあるんだから不適切なツイートは常に分かるようにしておいてもらいたいものですね。