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 (Darkly)
  • No Skin
Collapse
Brand Logo
  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
103 Posts 11 Posters 98 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.
  • julianJ julian

    @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.

    Sebastian LasseS This user is from outside of this forum
    Sebastian LasseS This user is from outside of this forum
    Sebastian Lasse
    wrote last edited by
    #79

    @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

    ricferrerR 1 Reply Last reply
    0
    • infinite love ⴳT infinite love ⴳ

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

      Ben Pate 🤘🏻B This user is from outside of this forum
      Ben Pate 🤘🏻B This user is from outside of this forum
      Ben Pate 🤘🏻
      wrote last edited by
      #80

      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
      • infinite love ⴳT infinite love ⴳ

        @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.

        ricferrerR This user is from outside of this forum
        ricferrerR This user is from outside of this forum
        ricferrer
        wrote last edited by
        #81

        @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

        infinite love ⴳT 1 Reply Last reply
        0
        • Ben Pate 🤘🏻B Ben Pate 🤘🏻

          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

          infinite love ⴳT This user is from outside of this forum
          infinite love ⴳT This user is from outside of this forum
          infinite love ⴳ
          wrote last edited by
          #82

          @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

          Ben Pate 🤘🏻B ricferrerR 2 Replies Last reply
          0
          • julianJ julian

            @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.

            infinite love ⴳT This user is from outside of this forum
            infinite love ⴳT This user is from outside of this forum
            infinite love ⴳ
            wrote last edited by
            #83

            @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
            • infinite love ⴳT infinite love ⴳ

              @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

              Ben Pate 🤘🏻B This user is from outside of this forum
              Ben Pate 🤘🏻B This user is from outside of this forum
              Ben Pate 🤘🏻
              wrote last edited by
              #84

              @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 😇

              infinite love ⴳT 1 Reply Last reply
              0
              • Ben Pate 🤘🏻B Ben Pate 🤘🏻

                @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 😇

                infinite love ⴳT This user is from outside of this forum
                infinite love ⴳT This user is from outside of this forum
                infinite love ⴳ
                wrote last edited by
                #85

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

                Ben Pate 🤘🏻B 1 Reply Last reply
                0
                • infinite love ⴳT infinite love ⴳ

                  @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

                  ricferrerR This user is from outside of this forum
                  ricferrerR This user is from outside of this forum
                  ricferrer
                  wrote last edited by
                  #86

                  @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 😎

                  infinite love ⴳT Ben Pate 🤘🏻B 4 Replies Last reply
                  0
                  • ricferrerR ricferrer

                    @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

                    infinite love ⴳT This user is from outside of this forum
                    infinite love ⴳT This user is from outside of this forum
                    infinite love ⴳ
                    wrote last edited by
                    #87

                    @ricferrer @benpate right now, if you link me x accounts and i find n interesting, i copy-paste n links (n <= x) into my fedi address bar (search bar) to access them in my "layer 2" browser-in-a-browser

                    i am not entirely convinced it would be better for every page to have to publish 2x links as opposed to publishing x links and you copying n links. 2x > x + n

                    what could be improved is opening n links in a different app (pwa included) but you can't avoid that unless you make your browser auth'd

                    1 Reply Last reply
                    0
                    • infinite love ⴳT infinite love ⴳ

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

                      Ben Pate 🤘🏻B This user is from outside of this forum
                      Ben Pate 🤘🏻B This user is from outside of this forum
                      Ben Pate 🤘🏻
                      wrote last edited by
                      #88

                      @trwnh sorry. What I mean is: the “share” and “like” workflows are gateways to the signup process.

                      If someone already has an account, use that.

                      Otherwise, give them a big orange button that goes directly to a signup page — no awful “instance chooser”, but that’s another conversation.

                      With Activity Intents, all the real work happens on your home server so we don’t need you to “sign in” on the remote server; just declare where you’re going to go when you want to interact.

                      1 Reply Last reply
                      0
                      • ricferrerR ricferrer

                        @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 😎

                        infinite love ⴳT This user is from outside of this forum
                        infinite love ⴳT This user is from outside of this forum
                        infinite love ⴳ
                        wrote last edited by
                        #89

                        @ricferrer @benpate the app is a browser too but i mainly use either firefox or subway tooter

                        1 Reply Last reply
                        0
                        • ricferrerR ricferrer

                          @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 😎

                          infinite love ⴳT This user is from outside of this forum
                          infinite love ⴳT This user is from outside of this forum
                          infinite love ⴳ
                          wrote last edited by
                          #90

                          @ricferrer @benpate the "end goal" for me is to have them discriminate by content type so i can open pdfs in my pdf viewer and activities in my activity viewer 🙂

                          1 Reply Last reply
                          0
                          • Sebastian LasseS Sebastian Lasse

                            @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

                            ricferrerR This user is from outside of this forum
                            ricferrerR This user is from outside of this forum
                            ricferrer
                            wrote last edited by
                            #91

                            @sl007 @julian @jaffathecake @benpate but you don’t need approval or the blessing from the browsers to implement a uri scheme right? iTunes used it with itms: , zoom does it.

                            It works of people have the app. You would only need their support if you want the browser to do something with the uri out of the box when there is no app other than showing an error. Right?

                            julianJ 1 Reply Last reply
                            0
                            • ricferrerR ricferrer

                              @sl007 @julian @jaffathecake @benpate but you don’t need approval or the blessing from the browsers to implement a uri scheme right? iTunes used it with itms: , zoom does it.

                              It works of people have the app. You would only need their support if you want the browser to do something with the uri out of the box when there is no app other than showing an error. Right?

                              julianJ This user is from outside of this forum
                              julianJ This user is from outside of this forum
                              julian
                              wrote last edited by
                              #92

                              @ricferrer@mastodon.social yes and no. I think standalone apps can listen for their own protocol handlers (like julian:// what a great protocol)

                              But PWAs must use the web+ prefix. The OS (or maybe just the browser) won't allow registration otherwise

                              @trwnh@mastodon.social @benpate@mastodon.social @sl007@digitalcourage.social

                              ricferrerR Ben Pate 🤘🏻B Sebastian LasseS 3 Replies Last reply
                              0
                              • ricferrerR ricferrer

                                @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 😎

                                Ben Pate 🤘🏻B This user is from outside of this forum
                                Ben Pate 🤘🏻B This user is from outside of this forum
                                Ben Pate 🤘🏻
                                wrote last edited by
                                #93

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

                                Not quite. FedCM solves this. And in the interim, we can put this in localStorage so you only need to enter your handle once per domain. And even that can be reduced if all the JS widgets are served by a shared location.

                                @ricferrer @trwnh

                                1 Reply Last reply
                                0
                                • ricferrerR ricferrer

                                  @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 😎

                                  Ben Pate 🤘🏻B This user is from outside of this forum
                                  Ben Pate 🤘🏻B This user is from outside of this forum
                                  Ben Pate 🤘🏻
                                  wrote last edited by
                                  #94

                                  @ricferrer @trwnh

                                  I’m 70/30 app/browser. I used the browser, for instance, when traveling internationally so I don’t have an app signed in to my identity.

                                  But I’m not the target audience. I’m already sold. The main reason to put open web first is to give an on-ramp to newbies who would join us if we made it easy enough 😇

                                  1 Reply Last reply
                                  0
                                  • julianJ julian

                                    @ricferrer@mastodon.social yes and no. I think standalone apps can listen for their own protocol handlers (like julian:// what a great protocol)

                                    But PWAs must use the web+ prefix. The OS (or maybe just the browser) won't allow registration otherwise

                                    @trwnh@mastodon.social @benpate@mastodon.social @sl007@digitalcourage.social

                                    ricferrerR This user is from outside of this forum
                                    ricferrerR This user is from outside of this forum
                                    ricferrer
                                    wrote last edited by
                                    #95

                                    @julian @sl007 @benpate @trwnh oh ok. I was talking only about native standalone apps and forgot about PWAs… that makes it a bit more complex, but still solvable. Do you use lots of “installed” PWAs?

                                    1 Reply Last reply
                                    0
                                    • julianJ julian

                                      @ricferrer@mastodon.social yes and no. I think standalone apps can listen for their own protocol handlers (like julian:// what a great protocol)

                                      But PWAs must use the web+ prefix. The OS (or maybe just the browser) won't allow registration otherwise

                                      @trwnh@mastodon.social @benpate@mastodon.social @sl007@digitalcourage.social

                                      Ben Pate 🤘🏻B This user is from outside of this forum
                                      Ben Pate 🤘🏻B This user is from outside of this forum
                                      Ben Pate 🤘🏻
                                      wrote last edited by
                                      #96

                                      @julian

                                      That’s really helpful. Thanks, Julian://

                                      One follow up question? Is it possible for regular apps to use the web+ prefix, too? Otherwise we’d have to pick one over the other, which might be problematic.

                                      @ricferrer @trwnh @sl007

                                      Sebastian LasseS 1 Reply Last reply
                                      0
                                      • julianJ julian

                                        @ricferrer@mastodon.social yes and no. I think standalone apps can listen for their own protocol handlers (like julian:// what a great protocol)

                                        But PWAs must use the web+ prefix. The OS (or maybe just the browser) won't allow registration otherwise

                                        @trwnh@mastodon.social @benpate@mastodon.social @sl007@digitalcourage.social

                                        Sebastian LasseS This user is from outside of this forum
                                        Sebastian LasseS This user is from outside of this forum
                                        Sebastian Lasse
                                        wrote last edited by
                                        #97

                                        @julian

                                        well, the difference is what I demoed at IWC:
                                        Apple itself (itms) or zoom https://www.visualcapitalist.com/zoom-boom-biggest-airlines/ can do anything.
                                        You will not be asked for consent.
                                        Same with mailto …

                                        But as shown the consent mechanism is not standardized and when I see the nearly white icon in the white browser bar I wanted to hit the person who made it cause at least 30% will not even realize it …

                                        @ricferrer @benpate @trwnh

                                        1 Reply Last reply
                                        0
                                        • Ben Pate 🤘🏻B Ben Pate 🤘🏻

                                          @julian

                                          That’s really helpful. Thanks, Julian://

                                          One follow up question? Is it possible for regular apps to use the web+ prefix, too? Otherwise we’d have to pick one over the other, which might be problematic.

                                          @ricferrer @trwnh @sl007

                                          Sebastian LasseS This user is from outside of this forum
                                          Sebastian LasseS This user is from outside of this forum
                                          Sebastian Lasse
                                          wrote last edited by
                                          #98

                                          @benpate

                                          This is possible as just answered to Julian but someone needs to fix the consent issues in the browsers (shown in posted demo video) which is nothing we can do …

                                          @julian @ricferrer @trwnh

                                          Sebastian LasseS 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

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