Skip to content

Mentions

Mentions are discussed in this section of ActivityStreams.

The big difference on if mentions are parsed are currently a result of if the value in href can be resolved by the application being tested.

In the support table parsed means that the activity could be parsed, but the mention was discarded. A ❌ in the support table means that the entire message has failed to parse.

Support table

tag akkoma gotosocial hollo mastodon misskey mitra pleroma sharkey
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
✅ mention ✅ mention parsed ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention ✅ mention
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
✅ mention ✅ mention parsed parsed parsed ✅ mention ✅ mention parsed
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
✅ mention parsed parsed ✅ mention ✅ mention parsed
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
✅ mention ✅ mention ✅ mention parsed parsed ✅ mention ✅ mention parsed

Details

tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9ZCq3UUI1Nl1vTeq”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9ZCq3UUI1Nl1vTeq”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9ZCq3UUI1Nl1vTeq”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9ZCq3UUI1Nl1vTeq”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “Aw9Z4rCpoYTPuD1KsK”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “01K06Q91X1R92RNFKRJ5FN0A50”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01K06Q91X1R92RNFKRJ5FN0A50”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01K06Q91X1R92RNFKRJ5FN0A50”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01K06Q91X1R92RNFKRJ5FN0A50”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “01K06QCFF7A5VJNB80QDXPPJAD”,
    “username”: “the_milkman”,
    “url”: “https://mastodon.social/@the_milkman”,
    “acct”: “the_milkman@mastodon.social”
  },
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01PNDDP5K9GH5G0V954907P8AZ”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “01982cc2-20ba-7a29-ac17-5c6ecef03cb6”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01982cc2-20ba-7a29-ac17-5c6ecef03cb6”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01982cc2-20ba-7a29-ac17-5c6ecef03cb6”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “01982cc3-5e04-7d63-bf96-187d4a063fb0”,
    “username”: “the_milkman”,
    “url”: “https://mastodon.social/@the_milkman”,
    “acct”: “the_milkman@mastodon.social”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01982cc2-20ba-7a29-ac17-5c6ecef03cb6”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “114919887140144768”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “114919887140144768”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “114919887140144768”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “114919887140144768”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “114919896461404724”,
    “username”: “the_milkman”,
    “url”: “https://mastodon.social/@the_milkman”,
    “acct”: “the_milkman@mastodon.social”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  “aagloikvgfvs0003”
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  “aagloikvgfvs0003”
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  “aagloikvgfvs0003”
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  “aagloikvgfvs0003”
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  “aaglqstggfvs002c”
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
null
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
null
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
null
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “01981284-5594-c6f0-d75b-0e5775d835bf”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01981284-5594-c6f0-d75b-0e5775d835bf”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01981284-5594-c6f0-d75b-0e5775d835bf”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01981284-5594-c6f0-d75b-0e5775d835bf”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “01981286-ec9b-20f0-efc6-e596da1bfa27”,
    “username”: “the_milkman”,
    “acct”: “the_milkman@mastodon.social”,
    “url”: “https://mastodon.social/@the_milkman”
  },
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01981283-18f7-e393-9aec-c8a8e2bc1a79”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9jTPoJfNv3u4OUW8”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9jTPoJfNv3u4OUW8”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9jTPoJfNv3u4OUW8”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Aw9jTPoJfNv3u4OUW8”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “Aw9jLg4fTm5pVGCuPI”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “aa80w1eg5pbs0002”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “aa80w1eg5pbs0002”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “aa80w1eg5pbs0002”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “aa80w1eg5pbs0002”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “aa80xzsg5pbs002d”,
    “username”: “the_milkman”,
    “acct”: “the_milkman@mastodon.social”,
    “url”: “https://mastodon.social/@the_milkman”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[]