twitter / hbc

A Java HTTP client for consuming Twitter's realtime Streaming API
https://developer.twitter.com/en/docs/tweets/filter-realtime/overview
Apache License 2.0
962 stars 373 forks source link

language & filter_level parameters are passed incorrectly #164

Closed alexott closed 2 years ago

alexott commented 8 years ago

According to specification (https://dev.twitter.com/streaming/overview/request-parameters#filter_level) the language & filter_level parameters could be used on the all stream types, but the current implementation pass them as the POST parameter, instead of GET, so they don't work on the sample stream.

P.S. I'll try to provide fix for it.

CheriePun commented 8 years ago

I encountered the same problem too and it took me some time to figure out where the problem was in the implementation (i.e. using post parameters instead of query parameters). It would be great if the fix can be released soon so that other people will not be confused why the parameters are not actually used in the request.

Stack-Attack commented 6 years ago

I'm having an issue where I am not receiving any tweets when using only a language filter on the endpoint:

endpoint.languages(newArrayList("en"));

Is this perhaps related to the issue raised here?

alexott commented 6 years ago

Yes, it looks like that it's related to this issue, but the PR isn't merged, and no activity in this repo. I recommend to apply my patch & build jar yourself

bobber205 commented 6 years ago

Yeah this project is basically abandoned.

bobber205 commented 6 years ago

Twitter has told this to me themselves.