Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Old Web Site
  • Recenti
  • Popolare
  • Tag
  • Utenti
Skin
  • Chiaro
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Scuro
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Predefinito (Cerulean)
  • Nessuna skin
Collassa

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  1. Home
  2. Categorie
  3. Technical Discussion
  4. I have added Mastodon-style (FEP-044f) quote post compatibility to my @DailyRucks bot.

I have added Mastodon-style (FEP-044f) quote post compatibility to my @DailyRucks bot.

Pianificato Fissato Bloccato Spostato Technical Discussion
fediversefedidevactivitypub
7 Post 2 Autori 51 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • julian@fietkau.socialundefined Questo utente è esterno a questo forum
    julian@fietkau.socialundefined Questo utente è esterno a questo forum
    julian@fietkau.social
    scritto su ultima modifica di
    #1

    RE: https://fietkau.software/daily_rucks/ap/activity/2025-11-08

    I have added Mastodon-style (FEP-044f) quote post compatibility to my @DailyRucks bot. You can now quote post the daily voice lines as much as you want! 🥳

    This would be noteworthy on its own if there weren't already a bunch of non-Mastodon implementations, but I'm actually late to the party. WordPress, Bonfire, micro.blog, dotmakeup, and ActivityBot all got there before I did.

    However, I think my approach is novel for being *stateless*. Thread incoming.

    🧵 1/6

    #Fediverse #FediDev #ActivityPub

    julian@fietkau.socialundefined 1 Risposta Ultima Risposta
    0
    • julian@fietkau.socialundefined julian@fietkau.social

      RE: https://fietkau.software/daily_rucks/ap/activity/2025-11-08

      I have added Mastodon-style (FEP-044f) quote post compatibility to my @DailyRucks bot. You can now quote post the daily voice lines as much as you want! 🥳

      This would be noteworthy on its own if there weren't already a bunch of non-Mastodon implementations, but I'm actually late to the party. WordPress, Bonfire, micro.blog, dotmakeup, and ActivityBot all got there before I did.

      However, I think my approach is novel for being *stateless*. Thread incoming.

      🧵 1/6

      #Fediverse #FediDev #ActivityPub

      julian@fietkau.socialundefined Questo utente è esterno a questo forum
      julian@fietkau.socialundefined Questo utente è esterno a questo forum
      julian@fietkau.social
      scritto su ultima modifica di
      #2

      You may have read that Mastodon quote posts are technically opt-in. To give you the options to opt out of being quoted or to revoke a prior quote permission, each post that tries to quote you applies for an individualized “permission slip” behind the scenes.

      This permission slip actually points back to your own server, allowing you to revoke a quote post permission without needing the cooperation of the server where you're being quoted.

      Full technical details: https://codeberg.org/fediverse/fep/src/branch/main/fep/044f/fep-044f.md

      🧵 2/6

      julian@fietkau.socialundefined 1 Risposta Ultima Risposta
      0
      • julian@fietkau.socialundefined julian@fietkau.social

        You may have read that Mastodon quote posts are technically opt-in. To give you the options to opt out of being quoted or to revoke a prior quote permission, each post that tries to quote you applies for an individualized “permission slip” behind the scenes.

        This permission slip actually points back to your own server, allowing you to revoke a quote post permission without needing the cooperation of the server where you're being quoted.

        Full technical details: https://codeberg.org/fediverse/fep/src/branch/main/fep/044f/fep-044f.md

        🧵 2/6

        julian@fietkau.socialundefined Questo utente è esterno a questo forum
        julian@fietkau.socialundefined Questo utente è esterno a questo forum
        julian@fietkau.social
        scritto su ultima modifica di
        #3

        This bureaucracy is necessary for verification of consent, but it is a bit of a pain for software implementers who want to give blanket quoting permissions, like bot authors.

        Making your account quotable by Mastodon takes more than a simple declaration: it has to have the ability to respond affirmatively to quote requests, and to confirm or deny the legitimacy of existing quotes.

        Generally this means having to at least keep track of everyone who has quoted you.

        🧵 3/6

        julian@fietkau.socialundefined 1 Risposta Ultima Risposta
        0
        • julian@fietkau.socialundefined julian@fietkau.social

          This bureaucracy is necessary for verification of consent, but it is a bit of a pain for software implementers who want to give blanket quoting permissions, like bot authors.

          Making your account quotable by Mastodon takes more than a simple declaration: it has to have the ability to respond affirmatively to quote requests, and to confirm or deny the legitimacy of existing quotes.

          Generally this means having to at least keep track of everyone who has quoted you.

          🧵 3/6

          julian@fietkau.socialundefined Questo utente è esterno a questo forum
          julian@fietkau.socialundefined Questo utente è esterno a questo forum
          julian@fietkau.social
          scritto su ultima modifica di
          #4

          While reading FEP-044f, I had an idea for getting around that requirement. It's difficult to explain without getting extremely technical, but I think it could be interesting for platform implementers who want to offer blanket quotability to Mastodon users, but who have shied away from FEP-044f for its state management requirements.

          Basically, a quote authorization stamp payload (see https://codeberg.org/fediverse/fep/src/branch/main/fep/044f/fep-044f.md#example-of-quoteauthorization) has to contain the IDs of the quoting post and the quoted post.

          🧵 4/6

          julian@fietkau.socialundefined 1 Risposta Ultima Risposta
          0
          • julian@fietkau.socialundefined julian@fietkau.social

            While reading FEP-044f, I had an idea for getting around that requirement. It's difficult to explain without getting extremely technical, but I think it could be interesting for platform implementers who want to offer blanket quotability to Mastodon users, but who have shied away from FEP-044f for its state management requirements.

            Basically, a quote authorization stamp payload (see https://codeberg.org/fediverse/fep/src/branch/main/fep/044f/fep-044f.md#example-of-quoteauthorization) has to contain the IDs of the quoting post and the quoted post.

            🧵 4/6

            julian@fietkau.socialundefined Questo utente è esterno a questo forum
            julian@fietkau.socialundefined Questo utente è esterno a questo forum
            julian@fietkau.social
            scritto su ultima modifica di
            #5

            That's why it's not possible to simply reply “ya sure” to every quote verification request. The response has to affirmatively state which quote it is for.

            So I thought, instead of keeping a list of prior quotes in a local database, why not embed them in the ID (URI) of the verification stamp? That way the code could simply echo them back out for any future request.

            Turns out this works! You can see an example here: https://fietkau.software/daily_rucks/ap/quoteAuth?stamp=2025-11-08;https%3A%2F%2Fexample.com%2Fsome-post

            🧵 5/6

            julian@fietkau.socialundefined 1 Risposta Ultima Risposta
            0
            • julian@fietkau.socialundefined julian@fietkau.social

              That's why it's not possible to simply reply “ya sure” to every quote verification request. The response has to affirmatively state which quote it is for.

              So I thought, instead of keeping a list of prior quotes in a local database, why not embed them in the ID (URI) of the verification stamp? That way the code could simply echo them back out for any future request.

              Turns out this works! You can see an example here: https://fietkau.software/daily_rucks/ap/quoteAuth?stamp=2025-11-08;https%3A%2F%2Fexample.com%2Fsome-post

              🧵 5/6

              julian@fietkau.socialundefined Questo utente è esterno a questo forum
              julian@fietkau.socialundefined Questo utente è esterno a questo forum
              julian@fietkau.social
              scritto su ultima modifica di
              #6

              This way, @DailyRucks gives out permission slips which are “shaped” in a way that is instantly verifiable, no database and no internal state required.

              The only problem is that the ID of the quoting post is an arbitrary URI, and passing full URIs as query string parameters is brittle. It seems to work for Mastodon post IDs, but other platforms might have more complex URI schemas.

              I guess we'll see what happens! 😀

              Project website with link to the git repository: https://fietkau.software/daily_rucks

              🧵 6/6

              silverpill@mitra.socialundefined 1 Risposta Ultima Risposta
              0
              • julian@fietkau.socialundefined julian@fietkau.social

                This way, @DailyRucks gives out permission slips which are “shaped” in a way that is instantly verifiable, no database and no internal state required.

                The only problem is that the ID of the quoting post is an arbitrary URI, and passing full URIs as query string parameters is brittle. It seems to work for Mastodon post IDs, but other platforms might have more complex URI schemas.

                I guess we'll see what happens! 😀

                Project website with link to the git repository: https://fietkau.software/daily_rucks

                🧵 6/6

                silverpill@mitra.socialundefined Questo utente è esterno a questo forum
                silverpill@mitra.socialundefined Questo utente è esterno a questo forum
                silverpill@mitra.social
                scritto su ultima modifica di
                #7

                @julian Nice workaround. They should describe it in the FEP

                1 Risposta Ultima Risposta
                0

                Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                Registrati Accedi
                Rispondi
                • Risposta alla discussione
                Effettua l'accesso per rispondere
                • Da Vecchi a Nuovi
                • Da Nuovi a Vecchi
                • Più Voti


                Feed RSS
                I have added Mastodon-style (FEP-044f) quote post compatibility to my @DailyRucks bot.
                @pierobosio@soc.bosio.info
                V4.10.1 Contributors
                • Accedi

                • Accedi o registrati per effettuare la ricerca.
                • Primo post
                  Ultimo post