Not sure of the right words for what I mean. I’m still new to the Fediverse and even newer to PieFed.

I’m now 99% of the time in PieFed (my instance: piefed.social ) as opposed to Lemmy. Often I’ll visit a community and see zero or almost zero posts. But if I open the same community in Lemmy (my instance: lemmy.ca) there are loads of posts.

An example I just noticed: !stargate@lemmy.world

  • Piefed.social: 2 posts.
  • Lemmy.ca: 141 posts.
  1. Is there a way to get those missing posts into Piefed?

  2. All of them at once (not just one at a time)?

  3. Can an ordinary user like me do it?

Thanks.

    • freamon@preferred.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      Ideally, you could use ActivityPub (there’d be a /comments endpoint for every post, with a list to retrieve) but that’s not something Lemmy currently provides.

      For automation, the API endpoint to use it ‘resolve_object’, and since it operates recursively, you can save yourself some time by only getting the deepest comment, so it will also fetch any parents (and the post too, if required).

      For example, https://piefed.social/c/stargate@lemmy.world was missing the "I’m loving SG-1 (first time watcher), but just doing:

      curl --header "authorization: Bearer MY_LOGIN_TOKEN" https://piefed.social/api/alpha/resolve_object?q=https%3A%2F%2Flemm.ee%2Fcomment%2F19279509

      was enough to get the post and 7 comments in one call.

      Instances disappearing really limits the viability of this kind of thing though - there’s already loads of missing comments from kbin.social and feddit.de, and it will be way worse when lemm.ee goes too.

    • klu9@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      Crikey, it would take a while to do it all manually. I guess 99.999% of that pre-federation content will end up invisible to me on PieFed.