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. Adding/removing "pinned statuses" to an actor

Adding/removing "pinned statuses" to an actor

Pianificato Fissato Bloccato Spostato Technical Discussion
activitypubmastodon
1 Post 1 Autori 23 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@activitypub.spaceundefined Questo utente è esterno a questo forum
    julian@activitypub.spaceundefined Questo utente è esterno a questo forum
    julian@activitypub.space
    scritto su ultima modifica di julian@activitypub.space
    #1

    Mastodon has a concept called "pinned statuses", which is a special collection attached to a Person actor.

    https://docs.joinmastodon.org/spec/activitypub/#featured

    It wasn't readily known how this collection is updated and federated (not without code achaeology), but claire@social.sitedethib.com recently shared some additional info :smiley:

    • The actor itself will issue an Add activity targeting the collection with the status in object.
    • This activity is sent to all followers of the actor.
    • No activity is sent if the actor has no remote followers.
    • A Remove is sent when a pinned post is unpinned.

    This is what the Add looks like:

    {
        "@context": "https://www.w3.org/ns/activitystreams",
        "type": "Add",
        "actor": "https://example.org/users/testUser",
        "target": "https://example.org/users/testUser/collections/featured",
        "object": "https://example.org/users/testUser/statuses/115266412340579560"
    }
    

    The corresponding Remove is identical except for type, which is of course, Remove.

    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
    Adding/removing "pinned statuses" to an actor
    @pierobosio@soc.bosio.info
    V4.10.1 Contributors
    • Accedi

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