twitter - Streaming API with filtering -


i trying write code stream arabic tweets twitter. tried using following code :

filterquery q = new filterquery();

string[] langs = new string[1];

langs[0]="ar";

q.language(langs);

twitterstream.filter(q);

unfortunately give me following error :( :(

406:returned search api when invalid format specified in request. returned streaming api when 1 or more of parameters not suitable resource. track parameter, example, throw error if: track keyword long or short. bounding box specified invalid. no predicates defined filtered resource, example, neither track nor follow parameter defined. follow userid cannot read. no filter parameters found. expect @ least 1 parameter: follow track locations  [mon mar 10 13:15:25 gmt+03:00 2014]parameter not accepted role. 406:returned search api when invalid format specified in request. returned streaming api when 1 or more of parameters not suitable resource. track parameter, example, throw error if: track keyword long or short. bounding box specified invalid. no predicates defined filtered resource, example, neither track nor follow parameter defined. follow userid cannot read.  no filter parameters found. expect @ least 1 parameter: follow track locations 

however if add track keyword arabic language works. don't want track keywords language.

any idea other why got error , plz if u have alternative can use ??

thnx in advance


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -