Spacc BBS Spacc BBS
    • Categorie
    • Recenti
    • Tag
    • Popolare
    • Mondo
    • Utenti
    • Gruppi
    • Registrati
    • Accedi
    La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.

    Mastodon/Activity Pub question:

    Pianificato Fissato Bloccato Spostato Uncategorized
    17 Post 6 Autori 11 Visualizzazioni
    Caricamento altri post
    • Da Vecchi a Nuovi
    • Da Nuovi a Vecchi
    • Più Voti
    Rispondi
    • Topic risposta
    Effettua l'accesso per rispondere
    Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
    • sarahjamielewis@mastodon.socialS Questo utente è esterno a questo forum
      sarahjamielewis@mastodon.social @sarahjamielewis@mastodon.social
      ultima modifica di

      What we have learned so far:

      - taking the json my service produces and mirroring on another AP service results in mastodon rendering the HTML on the mirrored post - so it unlikely to be an issue with the Note object at least...

      - just in case, I've tweaked a couple of things in webfinger, nodeinfo, and http header signing to better align the behaviour that mastodon is has, to no effect.

      sarahjamielewis@mastodon.socialS 1 Risposta Ultima Risposta Rispondi Cita 0
      • sarahjamielewis@mastodon.socialS Questo utente è esterno a questo forum
        sarahjamielewis@mastodon.social @sarahjamielewis@mastodon.social
        ultima modifica di

        I have officially ran out of ideas...probably time to take a break....

        Request: If anyone who knows anything about mastodon internals has any idea why plain text messages would show fine, but basic html formatted messages would show empty (see above) - I would greatly appreciate any insight.

        Edit: Thanks all, This has been Solved! (https://mastodon.social/@sarah@tap.resistant.tech/114644828209750037)

        jenniferplusplus@hachyderm.ioJ soatok@furry.engineerS 2 Risposte Ultima Risposta Rispondi Cita 0
        • jenniferplusplus@hachyderm.ioJ Questo utente è esterno a questo forum
          jenniferplusplus@hachyderm.io @sarahjamielewis@mastodon.social
          ultima modifica di

          @sarahjamielewis can you share a sample json you're sending?

          sarahjamielewis@mastodon.socialS 1 Risposta Ultima Risposta Rispondi Cita 0
          • soatok@furry.engineerS Questo utente è esterno a questo forum
            soatok@furry.engineer @sarahjamielewis@mastodon.social
            ultima modifica di

            @sarahjamielewis Hey @evan any ideas?

            evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
            • sarahjamielewis@mastodon.socialS Questo utente è esterno a questo forum
              sarahjamielewis@mastodon.social @jenniferplusplus@hachyderm.io
              ultima modifica di

              @jenniferplusplus

              The note: https://tap.resistant.tech/sarah/posts/1749337528.json (doesn't include the wrapping Create activity, but sending plain text messages work, so I assume the Create activity is OK...I can pull one from the debug logs)

              The empty render: https://mastodon.social/@sarah@tap.resistant.tech/114644584327450993

              jenniferplusplus@hachyderm.ioJ 1 Risposta Ultima Risposta Rispondi Cita 0
              • evan@cosocial.caE Questo utente è esterno a questo forum
                evan@cosocial.ca @soatok@furry.engineer
                ultima modifica di

                @soatok @sarahjamielewis they've got a list of tags they allow. Could you be using something at the top level that they sanitize out?

                Link Preview Image
                ActivityPub - Mastodon documentation

                A decentralized social networking protocol based upon the ActivityStreams 2.0 data format and JSON-LD.

                favicon

                (docs.joinmastodon.org)

                evan@cosocial.caE 1 Risposta Ultima Risposta Rispondi Cita 0
                • evan@cosocial.caE Questo utente è esterno a questo forum
                  evan@cosocial.ca @evan@cosocial.ca
                  ultima modifica di

                  @soatok @sarahjamielewis also, very excited to see your service!

                  1 Risposta Ultima Risposta Rispondi Cita 0
                  • jenniferplusplus@hachyderm.ioJ Questo utente è esterno a questo forum
                    jenniferplusplus@hachyderm.io @sarahjamielewis@mastodon.social
                    ultima modifica di

                    @sarahjamielewis Nothing is obviously wrong with it. This is just a guess, but it might be the capitalization on the unicode escapes? Mastodon capitalizes them. Here's a mastodon note that I keep around for regression testing
                    https://github.com/Letterbook/Letterbook/blob/main/Tests/Letterbook.IntegrationTests/Data/mastodon_post.json

                    jenniferplusplus@hachyderm.ioJ julian@community.nodebb.orgJ 2 Risposte Ultima Risposta Rispondi Cita 0
                    • jenniferplusplus@hachyderm.ioJ Questo utente è esterno a questo forum
                      jenniferplusplus@hachyderm.io @jenniferplusplus@hachyderm.io
                      ultima modifica di

                      @sarahjamielewis I put this together to help with interop testing. It's really useful to have access to mastodon's logs while you're trying to do this stuff
                      https://github.com/Letterbook/Sandcastles

                      1 Risposta Ultima Risposta Rispondi Cita 0
                      • julian@community.nodebb.orgJ Questo utente è esterno a questo forum
                        julian@community.nodebb.org @jenniferplusplus@hachyderm.io
                        ultima modifica di

                        jenniferplusplus@hachyderm.io I think it might be the Unicode escapes too. I don't think they're necessary.

                        1 Risposta Ultima Risposta Rispondi Cita 0
                        • Primo post
                          Ultimo post