Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world · 2 years agois there an API endpoint for lemmy.world?message-squaremessage-square14fedilinkarrow-up118arrow-down10file-text
arrow-up118arrow-down1message-squareis there an API endpoint for lemmy.world?Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world · 2 years agomessage-square14fedilinkfile-text
https://lemmy.ml/api/v3 works for lemmy.ml, but when I try it with lemmy.world it gives bad request, any help?
minus-squaredamn@lemmy.fmhy.mllinkfedilinkarrow-up5·2 years agoThe error message tells you why it failed
minus-squareYoru@lemmy.worldOPlinkfedilinkarrow-up1·2 years agooh, it’s because lemmy.world doesn’t allow api requests from lemmy.ml, and vice-versa. Is it possible that there’s a workaround?
minus-squareericjmorey@lemmy.worldlinkfedilinkarrow-up1·2 years agoMake a bot account on the other server
minus-squareYoru@lemmy.worldOPlinkfedilinkarrow-up1·2 years agoI’m making a bookmarklet to transfer followed communities from one instance to another
minus-squareericjmorey@lemmy.worldlinkfedilinkarrow-up1·edit-22 years agoWhoever would be using that bookmarklet would need to have accounts on both instances.
minus-squareYorulinkfedilinkarrow-up1·2 years agothat’s not the issue unfortunately, websites usually don’t allow api requests to be made from another website, I fixed it using this github repo
The error message tells you why it failed
oh, it’s because lemmy.world doesn’t allow api requests from lemmy.ml, and vice-versa. Is it possible that there’s a workaround?
Make a bot account on the other server
I’m making a bookmarklet to transfer followed communities from one instance to another
Whoever would be using that bookmarklet would need to have accounts on both instances.
that’s not the issue unfortunately, websites usually don’t allow api requests to be made from another website, I fixed it using this github repo