Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uri support for opening mastodon attributed app #1259

Open
albjeremias opened this issue Feb 3, 2025 · 3 comments
Open

uri support for opening mastodon attributed app #1259

albjeremias opened this issue Feb 3, 2025 · 3 comments

Comments

@albjeremias
Copy link

albjeremias commented Feb 3, 2025

What

If the links are pointing to the standard described in "FEP-07d7: A Custom URL Scheme and Web-Based Protocol Handlers for Linking to ActivityPub Resources" the links would open the activitypub/fediverse app you have as default in your device.

Why

When i press on a wordpress link to activity pub shows me a dialog to request my id or to copy the url.

How

web+activitypub:
oh wait.. there is only

Image

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler

Discussion link:
https://socialhub.activitypub.rocks/t/fep-07d7-a-custom-url-scheme-and-web-based-protocol-handlers-for-linking-to-activitypub-resources/3588/14

@pfefferle
Copy link
Member

Do you know any apps that support that? These custom protocols are meant for web apps, so I would assume that there are no mobile apps that support them!?!

@albjeremias
Copy link
Author

albjeremias commented Feb 3, 2025

@pfefferle
Copy link
Member

pfefferle commented Feb 4, 2025

There is the acct: URI scheme for profiles: https://www.rfc-editor.org/rfc/rfc7565.html

Is that what you meant?

The web+ protocol is meant to register web apps. So for example if you want to register Mastodon or WordPress as you main handler for some sorts of actions. Then every time you click these specific links, Mastodon or WordPress will be opened, but I think it is not possible to register them for apps. That is why they are prefixed with web.

https://developer.mozilla.org/en-US/docs/Web/Manifest/Reference/protocol_handlers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants