Developer of PieFed, a sibling of Lemmy & Mbin.

  • 314 Posts
  • 1.5K Comments
Joined 1 year ago
cake
Cake day: January 4th, 2024

help-circle
  • Pretty much what fxomt said. The endpoint urls are the same but on some a few parameters are different and some of the returned JSON is structured slightly differently.

    When Lemmy releases 1.0 and makes big changes their API, PieFed will not be trying to make compatible changes. We’ll also be wanting to add new endpoints for PieFed-only features like feeds so the differences will increase over time.







  • There have been some problems with federation lately. I believe the cause is that following piefed communities from other instances has had some bugs, which I’ve just fixed.

    Going to Lemmy, leave the community and then join again will probably help to make future posts arrive. I’ve already done that for South Africa, you don’t need to - I’m just saying it so others can see it.











  • It’s working for me. Try this:

    <!-- Save this as test-cors.html and open in a browser -->
    <!DOCTYPE html>
    <html>
      <body>
        <script>
          fetch("https://piefed.social/api/alpha/comment?id=6527216", {
            method: "GET", // or "POST", etc.
            headers: {
              "Content-Type": "application/json"
            }
          })
          .then(response => response.text())
          .then(data => console.log("Success:", data))
          .catch(error => console.error("CORS Error:", error));
        </script>
      </body>
    </html>
    






  • Hi there,

    The community migration feature that PieFed has is quite limited - no posts are actually transferred from the old instance to the new one. All that happens is that a remote community (which might have only received a few posts as piefed.blahaj.zone is very new) is reassigned to be a local community and all the posts in it too.

    That’s why !Womensstuff@piefed.blahaj.zone has only 5 days of posts.

    It’s a bit “smoke and mirrors”.

    On a more mature instance, like piefed.social, which has been subscribed to communities for a long time the instance has most of the history of most communities so the migration feature works relatively well.