Follow 1400+ ids = (400) Bad Request

Feb 3, 2014 at 4:37 PM
I am trying to use Tweetinvi to track around 5000 twitter ids in one stream but when I try to more than 1400 ids I get the following error:

The remote server returned an error: (400) Bad Request.

I believe it has something to do with the length of the Uri that is being generated but I might be wrong.

I've been using using the FilteredStream and adding the users by their twitter ids.
stream = new FilteredStream();

If you have any suggestions that would be great.
Feb 3, 2014 at 5:21 PM

I am not sure where the error might come from.
Would you please send me the entire URL your are trying to invoke?

Feb 3, 2014 at 5:38 PM
Apr 5, 2014 at 9:19 AM
Edited Apr 5, 2014 at 9:20 AM
Hi Jago123,

Did you figured out what is the problem ?
Apr 5, 2014 at 11:40 PM

Unfortunately I forgot about this issue. During my investigation I detected that the problem was not coming from Tweetinvi and that other libraries had the same issue.
I had to create a request on the twitter forum on this issue but I was very busy with the development that I forgot about it.

I will do more investigation. In the meantime, webrequest that are too long won't be accepted by the Twitter API resulting in the 400 error code.

Apr 6, 2014 at 7:16 AM
It seems it's related to query string length limitation
Apr 7, 2014 at 12:59 AM

Do you have any information about that kind of limitation?
Any documentation that I could rely on?

Apr 13, 2014 at 9:44 AM
Dear linvi,

Sorry for being late it was the weekend :) , you can read this