For example in the screenshot (twitch clip), if you want to share on reddit you click the reddit button, but what button are devs supposed to put to share in the fediverse? Do they pick an instance of their choice?! Is this a weakness of a federated platform or what?

  • snailwizard@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Probably uses the Lemmy API to detect which instance you’re logged into or you log in directly when prompted.

    • marsara9@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      1 year ago

      But the API is instance specific.

      The only ways I see this working is one of:

      1. You’d have to type in your instance name upon tapping the button
      2. You could have a settings page that lets you set your instance name and then twitch (or whatever service you’re using would store that along side your other user data)
      3. It just assumes one of the most popular instances.

      But without some central registry there’s no way to know what is your home instance.

      Edit: something like what Android does for Activities could work as well. But not sure how to handle that on a PC. … In Android they could just start a generic Intent to view Lemmy and it could then launch whichever app you have installed to handle that intent.