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.
  • ricferrer@mastodon.socialR ricferrer@mastodon.social

    @trwnh @benpate @evan @julian @rimu share targets opens a new post, which is expected behavior

    I think waiting for all browsers to allow extensions and then waiting for extensions to exist and then expecting the user to know which to use is not very realistic or short term.

    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
    #47

    @trwnh @benpate @evan @julian @rimu
    I am focused on what can we do pragmatically and realistically as a community to fix the broken experience to help get more people into the fediverse.

    A mix of

    1) JavaScript for websites that want to link to the fediverse that trigger ap: and offer http fallback (just like fb: before 2015)

    2) adding support for ap: on fedi clients

    It’s something we can do now. It works and we don’t have to wait for big tech

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

      @ricferrer to repeat: you don't need the extensions. they are just one option to making things simpler. i described at least 2 other options that are all complementary:

      - rewrite links to keep you in-app
      - content-type handlers to get you in the right app
      - extensions to also get you in the right app
      - share targets to get you in the right app (on mobile)

      you can use one, some, all, or none of these. the first one is the most important; the others should also be easy to do right now.

      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
      #48

      @ricferrer browser support would be the icing on the cake, but i think that extensions are actually not as unrealistic as you are saying. many people end up with extensions installed almost by accident. at the end of the day, if you open an app like mastodon, you have to be prompted to do certain things like enabling notifications and registering stuff like that.

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

        @trwnh @benpate @evan @julian @rimu
        I am focused on what can we do pragmatically and realistically as a community to fix the broken experience to help get more people into the fediverse.

        A mix of

        1) JavaScript for websites that want to link to the fediverse that trigger ap: and offer http fallback (just like fb: before 2015)

        2) adding support for ap: on fedi clients

        It’s something we can do now. It works and we don’t have to wait for big tech

        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
        #49

        @ricferrer @benpate @evan @julian @rimu doing ap: will fail for anyone who doesn't understand ap: which by default is everyone

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

          @ricferrer to repeat: you don't need the extensions. they are just one option to making things simpler. i described at least 2 other options that are all complementary:

          - rewrite links to keep you in-app
          - content-type handlers to get you in the right app
          - extensions to also get you in the right app
          - share targets to get you in the right app (on mobile)

          you can use one, some, all, or none of these. the first one is the most important; the others should also be easy to do right now.

          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
          #50

          @trwnh staying in app is the simplest solution. But the challenge is getting me from the browser to the app without me having to install anything or use the share intent workaround, which doesn’t work because it opens a “new post” as expected by the user when they select “share”

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

            @trwnh staying in app is the simplest solution. But the challenge is getting me from the browser to the app without me having to install anything or use the share intent workaround, which doesn’t work because it opens a “new post” as expected by the user when they select “share”

            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
            #51

            @ricferrer you have to at minimum register a handler, no? how is that any different than "installing"?

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

              @trwnh @benpate @evan @julian @rimu
              I am focused on what can we do pragmatically and realistically as a community to fix the broken experience to help get more people into the fediverse.

              A mix of

              1) JavaScript for websites that want to link to the fediverse that trigger ap: and offer http fallback (just like fb: before 2015)

              2) adding support for ap: on fedi clients

              It’s something we can do now. It works and we don’t have to wait for big tech

              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
              #52

              Yes. I agree with just moving forward with the tech we have.

              What would the JavaScript do, exactly?

              What parts of this would require a new ap:// protocol, or could we accomplish this with regular https:// links?

              Also: thanks for starting this conversation. I think it’s very helpful and timely!

              @ricferrer @trwnh @evan @julian @rimu

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

                @ricferrer @benpate @evan @julian @rimu doing ap: will fail for anyone who doesn't understand ap: which by default is everyone

                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
                #53

                @trwnh @benpate @evan @julian @rimu it worked before 2015 for twitter:, fb:, instagram: in the time of highest growth. Nobody needed to understand anything. It just worked because it was implemented with JavaScript and used http as a fallback which always worked even if the uri scheme failed

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

                  @trwnh Thank you. I understand what you’re saying. They’re rewriting links in the post to keep you on that site. I’ll need to keep this idea in my toolbox.. it will be useful.

                  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
                  #54

                  @benpate @trwnh it’s basically using browser.pub as a webclient or activity viewer, right?

                  If I understand correctly it doesn’t solve the problem that I am logged in in my app and not in the browser

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

                    In the end, we need real “share” and “like” buttons for the Fediverse - with as few clicks as possible - wrapped up as easily installable widgets that go next to Twitter and Facebook on every site online.

                    (That’s step 1)

                    Once we do this, step 2 is to lobby sites to JUST use Fediverse buttons, and drop the ones for hateful platforms.

                    @trwnh @ricferrer @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
                    #55

                    @benpate @trwnh @evan @julian @rimu I agree. That’s I like the uri scheme solution, which takes inspiration from the approach twitter, fb, instagram used before universal/app like in 2015 to achieve massive growth

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

                      @ricferrer @benpate @evan @julian @rimu in any case the thing all fedi apps can do "right now" (without any ecosystem changes otherwise) is to try to load all https: links locally before kicking users out. this is at least half of the problem solved right away.

                      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
                      #56

                      @trwnh @benpate @evan @julian @rimu totally agree. That’s the “easy” part

                      Then there is the other way around… going from the browser to a fedi client instead of a website if I have an app installed

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

                        @benpate @trwnh @evan @julian @rimu I agree. That’s I like the uri scheme solution, which takes inspiration from the approach twitter, fb, instagram used before universal/app like in 2015 to achieve massive growth

                        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
                        #57

                        Here’s a question: do browsers let JavaScript introspect what custom protocol handlers are available/installed?

                        I’m planning a Franken-widget that works with whatever tools are available.

                        Activity Intents? Sure

                        Custom protocol? Okay, we’ll use that too.

                        None of the above? Sniff the server and polyfill.

                        We could certainly try an “AND” approach, if JavaScript will let us.

                        @ricferrer @trwnh @evan @julian @rimu

                        ricferrer@mastodon.socialR sl007@digitalcourage.socialS 2 Replies Last reply
                        0
                        • benpate@mastodon.socialB benpate@mastodon.social

                          Yes. I agree with just moving forward with the tech we have.

                          What would the JavaScript do, exactly?

                          What parts of this would require a new ap:// protocol, or could we accomplish this with regular https:// links?

                          Also: thanks for starting this conversation. I think it’s very helpful and timely!

                          @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
                          #58

                          @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

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

                            @benpate @trwnh @evan @julian @rimu I agree. That’s I like the uri scheme solution, which takes inspiration from the approach twitter, fb, instagram used before universal/app like in 2015 to achieve massive growth

                            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
                            #59

                            Also, you can see this running right now on bandwagon.fm.

                            You can remote follow right from a band page, or even from a page of search results.

                            This works with just about any Fedi server by polyfilling the oStatus remote follow logic

                            If you’re in an #Emissary server you can also do remote likes, too

                            Could you try out the workflow I have in place right now? My goal is to expand this, make it all JS (no server-side required) then package it for everyone

                            @ricferrer @trwnh @evan @julian @rimu

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

                              @trwnh @benpate @evan @julian @rimu totally agree. That’s the “easy” part

                              Then there is the other way around… going from the browser to a fedi client instead of a website if I have an app installed

                              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
                              #60

                              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 1 Reply Last reply
                              0
                              • benpate@mastodon.socialB benpate@mastodon.social

                                Here’s a question: do browsers let JavaScript introspect what custom protocol handlers are available/installed?

                                I’m planning a Franken-widget that works with whatever tools are available.

                                Activity Intents? Sure

                                Custom protocol? Okay, we’ll use that too.

                                None of the above? Sniff the server and polyfill.

                                We could certainly try an “AND” approach, if JavaScript will let us.

                                @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
                                #61

                                @benpate @trwnh @evan @julian @rimu I know I implemented it at some point by analyzing what Facebook and co were doing. I think it was kind of a hack, but it worked. It didn’t let you know what was available. It just assumed it worked if you left the page and if you were still there it opened http. Like I said sometimes you had the page open when you came back to the browser (so it effectively opened both) but it wasn’t that annoying

                                evan@cosocial.caE 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

                                  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
                                  #62

                                  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 ricferrer@mastodon.socialR 2 Replies Last reply
                                  0
                                  • 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
                                          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