flytaly / reddit-post-notifier

Firefox/Chrome extension that watches for posts in given subreddits or reddit searches
Mozilla Public License 2.0
20 stars 5 forks source link

Follow specific thread #6

Open RayBB opened 4 years ago

RayBB commented 4 years ago

Is it possible to have a setup where I can follow for comments on a specific thread?

Kind of like how you can turn on inbox replies for your own posts?

The use case is if I see a thread that I like and wanna be updated on if someone comments.

Thanks

flytaly commented 4 years ago

No, you can't follow for comments currently. But there is API for comments, so maybe I will add this option later.

As a workaround, you can use rss endpoint with any RSS reader. There should be browser extensions for RSS too.

A thread link, for example, https://www.reddit.com/r/Frontend/comments/hdpu09/making_sense_of_redux/.

Add .rss?sort=new at the end or .rss?sort=new&depth=1 if you need only top level comments. So the link now looks like this: https://www.reddit.com/r/Frontend/comments/hdpu09/making_sense_of_redux/.rss?sort=new and you can put it into RSS-reader.

dandepeched commented 3 years ago

@flytaly +1 for this feature. Reddit RSS feed is unreliable, some new comments are missing, ?sort=new makes results even worse :(

flytaly commented 2 years ago

Reddit now has the built-in feature to follow a post. It's only available in the new design. follow posts

Though it looks like it works only with level 1 comments, and you need to manually subscribe to every comments down the comment tree with Follow button. follow comment

Even if I implement it in the extension, it would work the same way as RSS/Reddit built-in feature works. Reddit has an old API, and it's impossible to efficiently fetch new nested replies. You can only fetch a limited number of replies to a post or comment.

In other words, I can add follow thread functionally, but it will work only with level 1 comments.

dandepeched commented 2 years ago

@flytaly , Reddit solution have significant delay. Will it be possible to create same notification type but with adjustable delay?