• moseschrute@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 hours ago

    I don’t think this will work within the context of a feed of posts. You would have to make at least 1 additional comment for every post in the feed to fetch the comments for a post. So if you fetch a feed of 50 posts, you will have to make 51 requests. If a post has too many comments to fetch in one page, you will have to iterate through all the pages until you have all the comments. So it’s actually >=51 requests. Though I suspect you could get a good idea of a posts comments by fetching just the first page of comments.

    PieFed seems to have tags, but I’m not exactly sure how they work. But that might be a better place to start.