Closed flashmercurymcfly closed 1 year ago
That's just how data is fetched from Twitter, unfortunately.
The data that is returned from Twitter is always unsorted. It can be sorted on our side, at the cost of a bit higher (although unnoticeable) latency.
Would it be better if an option was added to get sorted data?
To confirm, in the example I gave the above list would be sorted by date as opposed to the data from twitter being sorted then returning count number of tweets correct?
Correct sir
If it's not too much trouble for you to implement I'd definitely find it useful.
I will implement it after discussing with @dvnasutosh .
Owing to my exams, any feature updates will come after a week from now.
Thanks for sharing your thoughts. Will work on it for sure!
Thanks for considering my suggestion. Really appreciate it especially with the mess twitter's API has been the past month or so.
Yeah, lots of migrations had to be done on our end too, but it has been dealt with.
Have a good day!
the problem is with the exclusion of "include_ext_views" param and direct fetch of data from "globalobjects". What the request does is sends all the required data under "globalobjects" and send the sort format under timelines. `
Unsure if this is intentional, but using the getTweets method where I specify a user with fromUsers doesn't always return x number of tweets in descending order of date.
Usage of getTweets
Here is the response I got as of writing
As you can see, the list is definitely not sorted by the tweet's created date (I'm not sure how it's sorted actually). Is there an existing way to fix this that I'm unaware of or would this require a change? There's a URL parameter "f=live" that appears when using twitter's basic search and selecting "Latest" but I don't know if that'd be helpful here.