Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world · 1 year agois there an API endpoint for lemmy.world?message-squaremessage-square13fedilinkarrow-up112arrow-down10file-text
arrow-up112arrow-down1message-squareis there an API endpoint for lemmy.world?Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world · 1 year agomessage-square13fedilinkfile-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-squareYoru@lemmy.worldOPlinkfedilinkarrow-up0·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-up1·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-up1·edit-21 year agoWhoever would be using that bookmarklet would need to have accounts on both instances.
minus-squareYoru@lemmy.mllinkfedilinkarrow-up1·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
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