is there an API endpoint for lemmy.world?

Yoru@lemmy.world to Lemmy.World Announcements@lemmy.world – 7 points –

https://lemmy.ml/api/v3 works for lemmy.ml, but when I try it with lemmy.world it gives bad request, any help?

14

You are viewing a single comment

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