Specify language for users/search


#1

Hi, when searching twitter users we sometimes receive empty results when the query is in another language than English (such as “intelligence artificielle” in French).
It seems that the search is also dependent of the user’s profile when doing the search. If I set my profile to French I get users results for the query “intelligence artificielle”, while when my profile is in English the result is empty.

Is there a way to specify the search language when searching for twitter users ? Or another resource from the API to search for twitter users ?

Any help appreciated.


#2

Yep - you can do this!
https://api.twitter.com/1.1/search/tweets.json?q="intelligence%20artificielle"&lang=fr

Or for a quick personal search without OAuth:
https://twitter.com/search?q="intelligence%20artificielle"&lang=fr
Hope that helps.