Closed Teskann closed 3 months ago
I think this is possible, we just need someone to code it (I'll be happy to code it when I have some free time)
I have done some research and I didn't find a Twitter/X API query or the appropriate option of the currently implemented Twitter/X API queries in Squawker that will return the most popular tweets instead of the latest.
I'll have to analyze what kind of requests Twitter/X is making in this case.
@Teskann You say that it is available in the Twitter/X app. I don't use the app. Is it also available on the Twitter/X WEB site? If so, could you show me?
I see. It's the "querySource": "trend_click" in the "variables" node of the query. Thank you very much for the info. I will implement the feature because I have time to do it.
Ok, thank you for your time on this issue
Hi @j-fbriere thanks for your reply.
I don't think it's about the "querySource":"trend_click"
. This one might just tell twitter we accessed the data through a click on the trending list.
It rather comes from "product"
which is "Latest"
in the example above. Indeed, when you search top tweets, this variable becomes "Top"
. This can also take the value "Media"
, "People"
and "Lists"
following what you can see on this screenshot from X website:
Every time you click on another tab, several request are send including one looking like the one @mrhcjones shared. The only difference is this "product"
variable.
NB: I used this website to decode URL queries so they are more readable: https://www.utilities-online.info/urlencode
@Teskann Than you for the information. In its search page, currently Squawker uses "product": "People" to search users and "product": "Latest" to search tweets. If I understand correctly the third type of search, the search of trending tweets, should use "product": "Top". I will try it.
NB. I use https://www.urldecoder.io/ to decode URL queries.
Thanks again. Good luck !
Describe the problem
Hi, thanks for developing this amazing app.
Something good you could add to Squawker is an option to display Top tweets instead of latest tweets when you search something or click on any trending topic.
Usually, most of the recent tweets are not interesting and sometimes not even related to the reason why the topic is trending.
Describe the solution
There are 2 tabs in the search view to show either people or tweets.
My suggestion is the following: add a third tab to display top tweets as well. I think it should be the default tab when you search.
This is a feature provided in the official X app. I don't know about Twitter APIs but I would be surprised if they don't provide this.
Cheers,