Rishikant181 / Rettiwt-API

A CLI tool and an API for fetching data from Twitter for free!
https://rishikant181.github.io/Rettiwt-API/
MIT License
306 stars 31 forks source link

Add endpoint for user replies #387

Closed omarcinkonis closed 8 months ago

omarcinkonis commented 9 months ago

User replies to other users' posts are not displayed in timeline. There's a separate endpoint for replies. Add this endpoint. Rettiwt-Core will need to be modified first.

Rishikant181 commented 9 months ago

@omarcinkonis https://github.com/Rishikant181/Rettiwt-Core/pull/88#issuecomment-1753156144

omarcinkonis commented 8 months ago

Tweet search is a good workaround, the only drawback is that it takes username instead of user id. Personally, I think that storing both username and id, having to access data by different identifiers is a bit inconvenient.

You mentioned:

Further, there is an irregularity while fetching data from this endpoint, which I have not been able to fix for quite some time.

What is the irregularity?

Rishikant181 commented 8 months ago

So the irregularity is that in the incoming raw response, the user's tweets and replies as well as the other tweets in the same thread/conversation are mixed, in a nested manner, with each thread having a cursor of it's own. In all other endpoints, the response has been a simple list but in this case, it's a nested list.

(I apologise for the late reply, final year of Uni sucks)

Rishikant181 commented 8 months ago

@omarcinkonis User replies have been added, will be coming in the next release (v2.3.0) scheduled for Monday.

Rishikant181 commented 8 months ago

@omarcinkonis Changes have been added in latest release (v2.3.0)