Thanks. The last couple of weeks have been pretty intense. Always looking at bugs and solving problems makes it feel like everything is broken all of the time so a bit of positivity goes a long way to balancing that out :)
rimu
Amazing.
Any ideas what the cause of those FRBs are?
Plus, it's 40 degrees celsius.
And everyone has scabies & lice.
Then they make you dance for PR videos
Literally hell on earth.
lol, wow
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 not for everyone. About 10% of people almost never drive. Up to 20% in urban areas of countries with good public transport.
It is almost comical how fucked this is.
The upvote of one's own post/comment does not federate. The only effect that upvote has is on the local instance and remote instances that receive the content are free to initialize the score of that new content however they wish.
Ok technically those are not part of the API ;-)
I've put CORS headers on everything now, go for 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>
I don't know, sorry.
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.