Is there any #ActivityPub / #Mastodon URI scheme used in the wild that would allow me to open an ActivityPub account directly in my Android app?

I've seen 'acct' and 'web+ap' mentioned but none seem to be implemented.

The goal is that given a text of "Here is my Mastodon profile acct:daniel@gultsch.social" #Conversations_im can link that directly into #Tusky. (Just like mailto and xmpp URIs open my E-Mail or IM app respectively)

Have @apps or @Tusky considered that? If not why not?

This entry was edited (2 weeks ago)
Unknown parent

mastodon - Link to source

Daniel Gultsch

@wiktor I understand the concern about bad fallback on the web. I just wish people would be a bit more pragmatic about it and at least add support for reading / opening such URIs. Nobody suggested replace all Follow buttons with web+activitypub: links.

Can we have support for FEP-07d7 in #Tusky and #Fedilab? (cc @Tusky @apps)

It shouldn’t be that hard to implement at least one of the possible URI schemes in #Conversations_im, #Lttrs, #Tusky and #Fedilab. Maybe get @delta on board too?

Unknown parent

mastodon - Link to source

Daniel Gultsch

That’s awesome. I think the URIs are supposed to look like this: web+activitypub:toot.fedilab.app/@apps (Notice the absence of //)

Maybe @jenniferplusplus can chime in to clarify? Maybe also something to be more explicit about in the FEP.

I know that over a decade we had both variants in the #XMPP world and that turned out to be a mess when parsing (Correct in the XMPP world is without the //)

in reply to Jenniferplusplus

@jenniferplusplus personally I belive it's fine to assume https as the transport. While ActivityPub may or may not work over telnet I don't think we'd be using a web+ scheme for that.

However - assuming that we can agree on https - my question was just: is it
a) web+activitypub:something
b) web+activitypub://something

The examples in the FEP indicate a although there isn't any normative text.

The web+soup example here html.spec.whatwg.org/#custom-h… also uses variant (a)

in reply to Fedilab Apps

@jenniferplusplus Conversations has been able to open xmpp: URIs (without //) for years.

Just to be sure I tested this with web+activitypub: URIs quickly to make sure web+ URIs don’t get special treatment - and it’s working fine in both Firefox and Chrome on Android.

Here is the intent filter I was using: gist.github.com/iNPUTmice/7975…

I have no strong opinions on whether the // should go in there. But I’m advocating for consistency. (And clarity in the FEP)

in reply to Daniel Gultsch

Ok. We use the same intent filter. codeberg.org/tom79/Fedilab/com…
I will check if it works without //
@jenniferplusplus
Unknown parent

mastodon - Link to source

Daniel Gultsch

@jenniferplusplus OK. Fair enough. Since I’m unsure what other venue would be more appropriate for finding consensus I added my comments to the @Tusky issue tracker: github.com/tuskyapp/Tusky/issu…

Let’s continue the discussion there instead here on Mastodon.

Unknown parent

mastodon - Link to source

Daniel Gultsch

I assume you are testing with this exact commit? codeberg.org/tom79/Fedilab/com…

If you wanted web+activitypub: to work (without the //) you can’t have host and pathPattern in there. Only <data android:scheme="web+activitypub" /> analogous to the gist I linked earlier.

However see my comments on the Tusky issue tracker on why I believe fedilinks is better than FEP-07d7: github.com/tuskyapp/Tusky/issu…

fedilinks uses :// anyway