Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. It’s really surprising to me that the #fediverse hasn’t agreed on a standardized way to open cross-instance #activitypub objects and instead relies on links that open in the browser.

It’s really surprising to me that the #fediverse hasn’t agreed on a standardized way to open cross-instance #activitypub objects and instead relies on links that open in the browser.

Scheduled Pinned Locked Moved Uncategorized
fediverseactivitypuburischeme
116 Posts 12 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • benpate@mastodon.socialB benpate@mastodon.social

    And I thing this “other way around” — going from a remote server to your home server — is the most important use case.

    Let’s lock this down and get “share” buttons everywhere.

    @ricferrer @trwnh @evan @julian @rimu

    trwnh@mastodon.socialT This user is from outside of this forum
    trwnh@mastodon.socialT This user is from outside of this forum
    trwnh@mastodon.social
    wrote last edited by
    #63

    @benpate @ricferrer @evan @julian @rimu if you never leave the app then the "other way around" basically never presents itself at all

    but really, how hard is sharing a link? doesn't seem hard!

    content handler is best in the long term but in immediate term there are still many ways to do this...

    benpate@mastodon.socialB 1 Reply Last reply
    0
    • ricferrer@mastodon.socialR ricferrer@mastodon.social

      @benpate @trwnh @evan @julian @rimu
      Maybe I did not explain it well. Fb, twitter, instagram used JavaScript to try to open their uri. If it failed, they opened the http equivalent

      The user did not notice much. If they had the app, it jumped. Sometimes if you returned to the browser the http was opened anyways. But that’s wasn’t very annoying

      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.spaceJ This user is from outside of this forum
      julian@activitypub.space
      wrote last edited by
      #64

      @ricferrer@mastodon.social @benpate@mastodon.social yes, that's correct and what the current state of affairs is.

      You can write links pointing to an interstitial page that says something like "opening in app", and use js to fire off the web+ap protocol handler.

      If the user is still on the page after some time has passed, the handler failed and you redirect to the https version.

      julian@activitypub.spaceJ sl007@digitalcourage.socialS 2 Replies Last reply
      0
      • trwnh@mastodon.socialT trwnh@mastodon.social

        @benpate @ricferrer @evan @julian @rimu if you never leave the app then the "other way around" basically never presents itself at all

        but really, how hard is sharing a link? doesn't seem hard!

        content handler is best in the long term but in immediate term there are still many ways to do this...

        benpate@mastodon.socialB This user is from outside of this forum
        benpate@mastodon.socialB This user is from outside of this forum
        benpate@mastodon.social
        wrote last edited by
        #65

        You’re right.. ONCE YOURE IN the ecosystem, it would be easy to just stay there. But how do you get into it in the first place?

        Most interactions will START out there in the open web. We need to make a smooth on-ramp for newbies to find us first.

        That’s why web -> fedi matters so much.

        @trwnh @ricferrer @evan @julian @rimu

        trwnh@mastodon.socialT 1 Reply Last reply
        0
        • benpate@mastodon.socialB benpate@mastodon.social

          I think I follow. Instead of “look before you leap” it’s more like “just jump anyway, then recover errors gracefully.”

          On my iPhone, websites themselves can declare a preferred app to use instead of the site. That’s another way around this problem, yes? But I don’t know if that’s available in desktops or not.

          I care mostly that we don’t break things for regular people who haven’t installed an app, and haven’t installed a browser plugin.

          @ricferrer @trwnh @evan @julian @rimu

          trwnh@mastodon.socialT This user is from outside of this forum
          trwnh@mastodon.socialT This user is from outside of this forum
          trwnh@mastodon.social
          wrote last edited by
          #66

          @benpate @ricferrer @evan @julian @rimu you can already do this with http and as early as 2013 there was an android app for handling links before they reached your default browser. i'm trying to remember what it was called 😞

          1 Reply Last reply
          0
          • julian@activitypub.spaceJ julian@activitypub.space

            @ricferrer@mastodon.social @benpate@mastodon.social yes, that's correct and what the current state of affairs is.

            You can write links pointing to an interstitial page that says something like "opening in app", and use js to fire off the web+ap protocol handler.

            If the user is still on the page after some time has passed, the handler failed and you redirect to the https version.

            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.spaceJ This user is from outside of this forum
            julian@activitypub.space
            wrote last edited by
            #67

            @benpate@mastodon.social and yes it will work fine with users without an app or extension installed. Agreed that this is a no-go for wide adoption. It has to be done with stuff everybody already has.

            cc @trwnh@mastodon.social @rimu@mastodon.nzoss.nz @ricferrer@mastodon.social

            trwnh@mastodon.socialT 1 Reply Last reply
            0
            • benpate@mastodon.socialB benpate@mastodon.social

              I think I follow. Instead of “look before you leap” it’s more like “just jump anyway, then recover errors gracefully.”

              On my iPhone, websites themselves can declare a preferred app to use instead of the site. That’s another way around this problem, yes? But I don’t know if that’s available in desktops or not.

              I care mostly that we don’t break things for regular people who haven’t installed an app, and haven’t installed a browser plugin.

              @ricferrer @trwnh @evan @julian @rimu

              ricferrer@mastodon.socialR This user is from outside of this forum
              ricferrer@mastodon.socialR This user is from outside of this forum
              ricferrer@mastodon.social
              wrote last edited by
              #68

              @benpate @trwnh @evan @julian @rimu that was the beauty of the approach. At the time desktop only said “app not available” but still had the destination open below the alert. I don’t know if macOS and other desktop handles it the same way now. I tried this in 2009 the last time 😂 but it might be worth a try

              On you iPhone it uses the newer approach of registering the domain for universal links (released in 2015). Which won’t work in the fediverse

              1 Reply Last reply
              0
              • benpate@mastodon.socialB benpate@mastodon.social

                You’re right.. ONCE YOURE IN the ecosystem, it would be easy to just stay there. But how do you get into it in the first place?

                Most interactions will START out there in the open web. We need to make a smooth on-ramp for newbies to find us first.

                That’s why web -> fedi matters so much.

                @trwnh @ricferrer @evan @julian @rimu

                trwnh@mastodon.socialT This user is from outside of this forum
                trwnh@mastodon.socialT This user is from outside of this forum
                trwnh@mastodon.social
                wrote last edited by
                #69

                @benpate @ricferrer @evan @julian @rimu right, so...

                - here's a link that you won't know how to open
                - go sign up at one of 100,000 servers before you can open it
                - do all that and end up with basically just a share button

                is a really bad ux, isn't it? i mean, it annoys me so much when people share matrix.to links for this reason...

                trwnh@mastodon.socialT benpate@mastodon.socialB 2 Replies Last reply
                0
                • trwnh@mastodon.socialT trwnh@mastodon.social

                  @benpate @ricferrer @evan @julian @rimu right, so...

                  - here's a link that you won't know how to open
                  - go sign up at one of 100,000 servers before you can open it
                  - do all that and end up with basically just a share button

                  is a really bad ux, isn't it? i mean, it annoys me so much when people share matrix.to links for this reason...

                  trwnh@mastodon.socialT This user is from outside of this forum
                  trwnh@mastodon.socialT This user is from outside of this forum
                  trwnh@mastodon.social
                  wrote last edited by
                  #70

                  @benpate @ricferrer @evan @julian @rimu if i'm already in my browser i don't want another browser. the "open web" IS the platform. that's where the interactions SHOULD be happening... and could be with a bit of work.

                  benpate@mastodon.socialB ricferrer@mastodon.socialR 2 Replies Last reply
                  0
                  • julian@activitypub.spaceJ julian@activitypub.space

                    @benpate@mastodon.social and yes it will work fine with users without an app or extension installed. Agreed that this is a no-go for wide adoption. It has to be done with stuff everybody already has.

                    cc @trwnh@mastodon.social @rimu@mastodon.nzoss.nz @ricferrer@mastodon.social

                    trwnh@mastodon.socialT This user is from outside of this forum
                    trwnh@mastodon.socialT This user is from outside of this forum
                    trwnh@mastodon.social
                    wrote last edited by
                    #71

                    @julian @benpate @rimu @ricferrer most people don't have fedi

                    julian@activitypub.spaceJ benpate@mastodon.socialB 2 Replies Last reply
                    0
                    • trwnh@mastodon.socialT trwnh@mastodon.social

                      @benpate @ricferrer @evan @julian @rimu right, so...

                      - here's a link that you won't know how to open
                      - go sign up at one of 100,000 servers before you can open it
                      - do all that and end up with basically just a share button

                      is a really bad ux, isn't it? i mean, it annoys me so much when people share matrix.to links for this reason...

                      benpate@mastodon.socialB This user is from outside of this forum
                      benpate@mastodon.socialB This user is from outside of this forum
                      benpate@mastodon.social
                      wrote last edited by
                      #72

                      Yes, that would suck. But it’s not what I’m suggesting. More like:

                      1. On a web page with cool content
                      2. Click “like” or “share” button
                      3a. Already identified? Jump to your home server, confirm the action, return to page
                      3b. Else, click “join now” to sign up on a recommended server for this content. Bonus pts for keeping the intent context around and completing the “like” once you have your new account.

                      This would help more people explore the Fediverse.

                      @trwnh @ricferrer @evan @julian @rimu

                      trwnh@mastodon.socialT 1 Reply Last reply
                      0
                      • trwnh@mastodon.socialT trwnh@mastodon.social

                        @benpate @ricferrer @evan @julian @rimu if i'm already in my browser i don't want another browser. the "open web" IS the platform. that's where the interactions SHOULD be happening... and could be with a bit of work.

                        benpate@mastodon.socialB This user is from outside of this forum
                        benpate@mastodon.socialB This user is from outside of this forum
                        benpate@mastodon.social
                        wrote last edited by
                        #73

                        I agree with this 100% and I think this is what I’m pushing for 🙂

                        @trwnh @ricferrer @evan @julian @rimu

                        1 Reply Last reply
                        0
                        • trwnh@mastodon.socialT trwnh@mastodon.social

                          @julian @benpate @rimu @ricferrer most people don't have fedi

                          julian@activitypub.spaceJ This user is from outside of this forum
                          julian@activitypub.spaceJ This user is from outside of this forum
                          julian@activitypub.space
                          wrote last edited by
                          #74

                          @trwnh@mastodon.social exactly, that's why when you open the interstitial page, it tries the protocol handler, and if there's no response, sends the user to the https target as fallback.

                          trwnh@mastodon.socialT 1 Reply Last reply
                          0
                          • julian@activitypub.spaceJ julian@activitypub.space

                            @ricferrer@mastodon.social @benpate@mastodon.social yes, that's correct and what the current state of affairs is.

                            You can write links pointing to an interstitial page that says something like "opening in app", and use js to fire off the web+ap protocol handler.

                            If the user is still on the page after some time has passed, the handler failed and you redirect to the https version.

                            sl007@digitalcourage.socialS This user is from outside of this forum
                            sl007@digitalcourage.socialS This user is from outside of this forum
                            sl007@digitalcourage.social
                            wrote last edited by
                            #75

                            @julian

                            just some historical context,

                            since at least 2010 (16 years ago) registerProtocolHandler is specified and worked for mailto: then for tel: (cause nice for gooles android)

                            back in 2015 (11 years ago) we (w3c SocialCG) had talked to all the browser makers about making ActivityPub and webmention trusted protocols.

                            In 2016 (T-10 years) I demoed the existing practical problems at Jeremy Keiths indiewebcamp in Brighton see the demo https://www.youtube.com/live/W70wd56i0Bg?si=DJgm9WsGpwzaLdGJ&t=2030 (indiewebcamp demos are written in incredible short time …)

                            Anyway - nothing changed at the browser makers except the browser makers switched their positions from company to company. @jaffathecake 🙂

                            [edit; well: Mozilla did BrowserId, renamed it to Persona and directly trashed it cause then gaming and AI [where the parts of the teams went to] was more important …

                            @ricferrer @benpate

                            ricferrer@mastodon.socialR 1 Reply Last reply
                            0
                            • trwnh@mastodon.socialT trwnh@mastodon.social

                              @julian @benpate @rimu @ricferrer most people don't have fedi

                              benpate@mastodon.socialB This user is from outside of this forum
                              benpate@mastodon.socialB This user is from outside of this forum
                              benpate@mastodon.social
                              wrote last edited by
                              #76

                              This is unfortunately true. But I believe good content (plus those little like and share buttons) would give people a reason to join.

                              I yammered about this for 30 minutes at FOSDEM. I can link the presentation video once it’s posted.

                              @trwnh @julian @rimu @ricferrer

                              1 Reply Last reply
                              0
                              • trwnh@mastodon.socialT trwnh@mastodon.social

                                @benpate @ricferrer @evan @julian @rimu if i'm already in my browser i don't want another browser. the "open web" IS the platform. that's where the interactions SHOULD be happening... and could be with a bit of work.

                                ricferrer@mastodon.socialR This user is from outside of this forum
                                ricferrer@mastodon.socialR This user is from outside of this forum
                                ricferrer@mastodon.social
                                wrote last edited by
                                #77

                                @trwnh @benpate I agree. It should always be web first. But for those that made the leap, choose from the 100,000 servers and have an app, we shouldn’t make them relive the trauma 😁 by asking them to log in on every instance where they just want to either follow someone or like something

                                Imagine i send you the link below through signal. It opens in the browser or webview. If i want to follow them all, i have to log in x times https://joinfediverse.wiki/Notable_Fediverse_accounts

                                trwnh@mastodon.socialT 1 Reply Last reply
                                0
                                • benpate@mastodon.socialB benpate@mastodon.social

                                  Yes, that would suck. But it’s not what I’m suggesting. More like:

                                  1. On a web page with cool content
                                  2. Click “like” or “share” button
                                  3a. Already identified? Jump to your home server, confirm the action, return to page
                                  3b. Else, click “join now” to sign up on a recommended server for this content. Bonus pts for keeping the intent context around and completing the “like” once you have your new account.

                                  This would help more people explore the Fediverse.

                                  @trwnh @ricferrer @evan @julian @rimu

                                  trwnh@mastodon.socialT This user is from outside of this forum
                                  trwnh@mastodon.socialT This user is from outside of this forum
                                  trwnh@mastodon.social
                                  wrote last edited by
                                  #78

                                  @benpate i think 3b is where my issue is -- the solution for me looks a lot more like

                                  1. on a web page
                                  2. click share (in js or in browser)
                                  3. your browser or os sends some stuff to an app of your choice you already have (including registered pwa targets)

                                  bonus: filter share targets by content-type

                                  benpate@mastodon.socialB ricferrer@mastodon.socialR 2 Replies Last reply
                                  0
                                  • julian@activitypub.spaceJ julian@activitypub.space

                                    @trwnh@mastodon.social exactly, that's why when you open the interstitial page, it tries the protocol handler, and if there's no response, sends the user to the https target as fallback.

                                    trwnh@mastodon.socialT This user is from outside of this forum
                                    trwnh@mastodon.socialT This user is from outside of this forum
                                    trwnh@mastodon.social
                                    wrote last edited by
                                    #79

                                    @julian yup

                                    you could in theory do web+activity to mean "http get with accept header for activity+json" but what mastodon does is i think just intercept the click with js

                                    1 Reply Last reply
                                    0
                                    • trwnh@mastodon.socialT trwnh@mastodon.social

                                      @benpate i think 3b is where my issue is -- the solution for me looks a lot more like

                                      1. on a web page
                                      2. click share (in js or in browser)
                                      3. your browser or os sends some stuff to an app of your choice you already have (including registered pwa targets)

                                      bonus: filter share targets by content-type

                                      benpate@mastodon.socialB This user is from outside of this forum
                                      benpate@mastodon.socialB This user is from outside of this forum
                                      benpate@mastodon.social
                                      wrote last edited by
                                      #80

                                      @trwnh That would be ideal, once you have the app. But if you don’t already have an app installed for this, how do we onboard new users? That’s the most important part, for me.

                                      I’m starting to think there’s some hybrid approach that will just do everything. Hopefully it can all be “containerized” in a JS widget that lets website designers KitKat drop a widget in their page and then it’ll just magically work 😇

                                      trwnh@mastodon.socialT 1 Reply Last reply
                                      0
                                      • benpate@mastodon.socialB benpate@mastodon.social

                                        @trwnh That would be ideal, once you have the app. But if you don’t already have an app installed for this, how do we onboard new users? That’s the most important part, for me.

                                        I’m starting to think there’s some hybrid approach that will just do everything. Hopefully it can all be “containerized” in a JS widget that lets website designers KitKat drop a widget in their page and then it’ll just magically work 😇

                                        trwnh@mastodon.socialT This user is from outside of this forum
                                        trwnh@mastodon.socialT This user is from outside of this forum
                                        trwnh@mastodon.social
                                        wrote last edited by
                                        #81

                                        @benpate how do we get people to use fedi without an account? 😉

                                        benpate@mastodon.socialB 1 Reply Last reply
                                        0
                                        • trwnh@mastodon.socialT trwnh@mastodon.social

                                          @benpate i think 3b is where my issue is -- the solution for me looks a lot more like

                                          1. on a web page
                                          2. click share (in js or in browser)
                                          3. your browser or os sends some stuff to an app of your choice you already have (including registered pwa targets)

                                          bonus: filter share targets by content-type

                                          ricferrer@mastodon.socialR This user is from outside of this forum
                                          ricferrer@mastodon.socialR This user is from outside of this forum
                                          ricferrer@mastodon.social
                                          wrote last edited by
                                          #82

                                          @trwnh @benpate
                                          The issue with PWA targets afaik is that they are like universal/app links -> bound to a domain

                                          Apps from different vendors can pick it up (it’s only a problem if you have more than one on iOS, Android lets you choose)

                                          For 3b to work you would need to tell the page with the content which one is your home server every time for every content

                                          Do you use a browser for the fediverse mostly or an app? I am 100% app 😎

                                          trwnh@mastodon.socialT benpate@mastodon.socialB 4 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups