Generate sharelinks

Hey everyone. Recently we had the need in flohmarkt to push content to other instances to prefill their message fields to simplify a process. My colleague modelled the process after Implementing a “Share on Mastodon” button for a blog | Almost Secure which works just fine for now. However this approach contains a fixed list of endpoint-urls that has to be changed whenever a fediverse service-api changes. Even worse, one would need to maintain API-endpoints per version to keep compatible with multiple API-incompatible versions of another fediverse service.

Is there any possibility / spec / implementation to get this share-url-template via some .well-known-mechanism?

thanks and have a nice week everyone

1 Like

I think FEP-3b86: Activity Intents may do the job.

Specifically, "Create Intent"

1 Like