PrivacyDevel / nitter

Alternative Twitter front-end
https://nitter.net
GNU Affero General Public License v3.0
151 stars 29 forks source link

[Feature request] Ability to view post interactions (likes, retweets, quote tweets) #7

Closed FoxBlocks closed 1 year ago

FoxBlocks commented 1 year ago

First off, I'd like to thank you for making this fork! It's been an incredibly valuable resource to me for searching Twitter after search was disabled for guests.

Here's my request. Since this fork uses credentials to allow search and show blocked posts, then theoretically it could also show the names of users who like and retweet a post (like on Twitter when you click the "(#) Likes" and "(#) Retweets" texts). If you could add that functionality, it would make this fork even more valuable.

I have no experience with the programming that goes into this, so I don't know how hard it would be to implement, but it would make for a great feature.

PrivacyDevel commented 1 year ago

Thank you for this great suggestion! I'm not that sure how I would best integrate that feature into nitter yet but I did just add the likes and retweets feature to my own Twitter front-end yitter if you want to use that for the time being. :) You can check the list of users by clicking on the like or the retweet counter or icon under a tweet.

FoxBlocks commented 1 year ago

Oh, nice! It works perfectly, even on posts marked as adult! I can see that yitter is very bare-bones compared to nitter, so I'll use both interchangeably to suit my needs. Thank you so much!

FoxBlocks commented 1 year ago

UPDATE: It won't show me quote tweets. This is still very useful otherwise!

PrivacyDevel commented 1 year ago

UPDATE: It won't show me quote tweets. This is still very useful otherwise!

Yeah, quote retweets aren't implemented yet. Implementing the likes and retweet user list was fairly easy and they both work very similarly. Quote retweets seem to work by performing a search in the background. Will probably implement that sometime as well tho and keep you updated on this issue here as soon as I do.

FoxBlocks commented 1 year ago

Ah, okay. I'll wait! Thanks for everything so far!

PrivacyDevel commented 1 year ago

Added quote retweet list support in https://github.com/PrivacyDevel/yitter/commit/6ceeff93d2e708062e20a1f23c520e04cd045867. That one was surprisingly the easiest of them all and does not even require an account as long as you're able to make searches without one, that is.

FoxBlocks commented 1 year ago

Clicking the button gives me a 500 Internal Server Error on yitter, but I'm able to take the search term it tries to use, and search it on nitter.

Okay, I'm satisfied now! Thanks again for everything!

PrivacyDevel commented 1 year ago

Found the issue and fixed it. Thank you for letting me know!

PrivacyDevel commented 1 year ago

@FoxBlocks In case you're interested, you can now see who somebody follows and is followed by on yitter as well. :)

PrivacyDevel commented 1 year ago

And I added the retweeters and favoriters user lists to nitter now as well. See my PR: zedeus/nitter#897 And I also deployed it on my instance. :)

PrivacyDevel commented 1 year ago

Turned the quote count + icon of nitter into a clickable link to the quotes in the previously mentioned PR as well. The changes are live on my instance as well :)

FoxBlocks commented 1 year ago

Wow, you've gone above and beyond! Thanks for adding a follower view as well, and thanks again for everything else!

PrivacyDevel commented 1 year ago

You're very welcome!

PrivacyDevel commented 1 year ago

Added the followers + following user list to nitter as well now :)