Twitter adds “Possibly Sensitive” flag to tweets with media containing inappropriate/NSFW content

Twitter has just announced today about a new field “possibly_sensitive” in the Twitter API, to allow developers to deal properly with the tweets containing sensitive content.

End users will have an option to flag media as sensitive on the details pane of a tweet if the tweet does have at least a link, a picture or a video.

Taylor Singletary, from Twitter Platform Team, writes to developers.

Beginning today you may notice a new boolean field in API responses & streams containing tweets: “possibly_sensitive”. This new field will only surface 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. During this initial testing phase, there’s nothing you need to do with this field and the field values cannot be relied on for accuracy. In the future, we’ll have a family of additional API methods & fields for handling end-user “media settings” and possibly sensitive content.

Twitter also allows you to mark your own media to warn people that it contains sensitive content. As well in case you know that you always or often post media containing sensitive content, you can configure your Twitter account settings to flag automatically the media you upload as sensitive for viewing.

Go to your Twitter Settings and look for the following options on the main settings page