Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world · 1 year agois there an API endpoint for lemmy.world?message-squaremessage-square11fedilinkarrow-up15arrow-down10file-text
arrow-up15arrow-down1message-squareis there an API endpoint for lemmy.world?Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world · 1 year agomessage-square11fedilinkfile-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-up1·1 year agoThe error message tells you why it failed
minus-squareYoru@lemmy.worldOPlinkfedilinkarrow-up1·1 year 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-up0·1 year agoMake a bot account on the other server
minus-squareYoru@lemmy.worldOPlinkfedilinkarrow-up0·1 year agoI’m making a bookmarklet to transfer followed communities from one instance to another
minus-squareericjmorey@lemmy.worldlinkfedilinkarrow-up0·edit-21 year agoWhoever would be using that bookmarklet would need to have accounts on both instances.
minus-squareYoru@lemmy.mllinkfedilinkarrow-up2·1 year 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