this post was submitted on 13 Jun 2023
5 points (100.0% liked)

Lemmy.World Announcements

29028 readers
4 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to [email protected] e-mail.

Report contact

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

The error message tells you why it failed

[โ€“] [email protected] 1 points 1 year ago (1 children)

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?

[โ€“] [email protected] 0 points 1 year ago (1 children)

Make a bot account on the other server

[โ€“] [email protected] 0 points 1 year ago (1 children)

I'm making a bookmarklet to transfer followed communities from one instance to another

[โ€“] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Whoever would be using that bookmarklet would need to have accounts on both instances.

[โ€“] [email protected] 2 points 1 year ago

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