We are adquiring twitter premium and I need some help clarifying concepts, I see that now we can use group expressions like:
(happy OR party) (holiday OR house) -(birthday OR democratic OR republican)
We need to listen some terms and grouping is very helpfull, the first question is can we use the previous expression with stream? I am using the https://stream.twitter.com/1.1/statuses/filter.json endpoint. At this moment without premium I am getting error 401, not authorized.
I use the parameter stall_warnings = true but never get the warnings I can share more .net code if you need it. The basics is I create the call, using method post with the parameters stall_warning=true and track=my_terms and create a loop
res = DirectCast(req.GetResponse(), HttpWebResponse) streamReader = New IO.StreamReader(res.GetResponseStream(), System.Text.Encoding.GetEncoding("utf-8")) While True response = streamReader.ReadLine() End While
I only get tweets. ¿How can I get some stall_warnings? Maybe this is a good sign pero I want to try this to adapt to production enviroment.
The third question is if I have problems with stream, can we use the same query, the previuos one for example, to call a /search and get the same results? I already tried and got different results.
In the stream “UTF-8 characters will match exactly, even in cases where an “equivalent” ASCII character exists. For example, “touché” will not match a Tweet containing “touche””.
With the search call is not working like that, I am using SearchOperations.Search of the Spring.Social and the results ignore the accents.
Is very important for keep all clean, that we get the same results with the stream process and the remember process.
The last question, can we use some wildcars like ‘?’ for a character or ‘*’ for some characters with the premium api?. For example I want the terms ‘niños’ and ‘niñas’ and maybe I can use a term like ‘niñ?s’ that give me them.
Thanks in advance !