nitter icon indicating copy to clipboard operation
nitter copied to clipboard

Some accounts will return random tweets when searching with a list of users

Open ButteredCats opened this issue 1 month ago • 9 comments

Despite not searching for any of these accounts they still appear mixed in with the rest of the tweets of who I did search.

Out of the 50 accounts I have 7 of them were like this, they'll return these "garbage" tweets every time if it's the only account in sessions.jsonl. When I logged into one of them I didn't see anything that stood out as weird.

Image

ButteredCats avatar Nov 20 '25 01:11 ButteredCats

Hm, that is quite weird. Does it happen reliably with those accounts?

The tweets are real at least: Image

Image

zedeus avatar Nov 20 '25 14:11 zedeus

Yeah these random tweets will be there every single time if it's the only real Twitter account in sessions.jsonl. Otherwise its just luck of the draw if Nitter uses a "normal" account or one of these weird ones.

ButteredCats avatar Nov 20 '25 15:11 ButteredCats

Can you provide a raw JSON example? Just add echo result after this line: https://github.com/zedeus/nitter/blob/824a7e346a730a3eeb87a945e8268b3e40867f0d/src/apiutils.nim#L96

zedeus avatar Nov 20 '25 16:11 zedeus

Here you go! Raw json.txt

ButteredCats avatar Nov 21 '25 00:11 ButteredCats

I'm not really seeing anything out of the ordinary, besides the actual tweets. Does it happen with those accounts on other pages, or with other search queries?

zedeus avatar Nov 21 '25 12:11 zedeus

Nope, only when searching with multiple users. Interestingly it looks like I have to be searching at least three users before the random tweets start appearing though.

If I only search two users then everything seems fine.

ButteredCats avatar Nov 21 '25 16:11 ButteredCats

This is what Nitter generates as the search query. Try it as a normal search, then try logging into the account and doing a regular search via the official client and see what happens: from:NASA OR from:esa OR from:NASAPersevere filter:self_threads OR -filter:replies include:nativeretweets

zedeus avatar Nov 21 '25 17:11 zedeus

Doing that search in Nitter produces the garbage tweets, doing it signed into the account on Twitter does not.

ButteredCats avatar Nov 21 '25 17:11 ButteredCats

The account I've been testing with has suddenly stopped having this issue, the others still do it though.

Edit: I lied, it's still doing it. However it has far less garbage tweets than the other accounts.

ButteredCats avatar Nov 26 '25 03:11 ButteredCats