Twitter will soon add metadata to tweets that will allow users of its API to filter the tweets they call up by language and importance, the company said today.
The filters will be available for streaming APIs that use Twitter’s data on websites other than Twitter.com and on REST.
The language of tweets will be determined by Twitter’s language-detection algorithms.
“Connecting to a public stream and specifying the language parameter … will only return Tweets that have been detected as being written in the specified languages,” developer advocate Arne Roomann-Kurrik wrote on a blog for Twitter developers.
API users will be able to sort tweets by the level of engagement, using the settings “high,” “medium,” “low,” or no filtering. The highest level corresponds loosely to the “top tweets” filter the service already offers in its on-site search function. It depends on the following the user has as well as how many retweets and responses a given tweet generates.
The importance filter, called filter_level, will become active on February 20. The language filter “will follow shortly after that,” according to Twitter.