• 16 Posts
  • 658 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle











  • I’m confused, here is what I’m doing:

    • Make a Lemmy object: lemmy

    • Connect it to my server lemmy.mindoki.com (with a user, pwd)

    • lemmy.private_message(‘hello’, *id")

    Note: I have 1 user on my server, and one user on lemmy.world.

    1. If I make a Lemmy object, connect it to my server (lemmy.mindoki.com), and asks for a user and use his id, it works.

    2. If I make a Lemmy object, connect it to lemmy.world instead, and asks for a user there, and use his id, it doesn’t work.

    Which seems logic, the id is local to the instance isn’t it?

    For example, on my server it’s 1263 for my user, on lemmy.world it’s 370373, I can’t just use that number without anything else to identify a user, right?



  • I can send messages manually (on my lemmy server to another), but the problem is I can’t find “how to do it” programmatically. The examples are only for sending messages on the same server, I’m digging around in the git repo but haven’t found anything that works yet.

    BTW is it db0 the creator?! I should maybe head over to his server and see if he’s available.