Fix language-dependent bot score
Closed this issue · 1 comments
filmenczer commented
Twitter user object no longer has lang
field (it is null) so we are wrongly assuming languange is non-English and using universal score.
FIX: read the lang
from tweets that are obtained either from the Hoaxy API (for Hoaxy search) or from the Twitter API (for Twitter search). Botometer now uses the majority language out of 200 tweets, so we could follow the same idea; or if too complicated, we could just get the language from the latest tweet.
marcmccarty commented