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”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “AryUYAjgMJQrBC87pg”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “AryUYAjgMJQrBC87pg”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “AryUYAjgMJQrBC87pg”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “AryUYAjgMJQrBC87pg”,
    “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”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “acct”: “witch”,
    “id”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “acct”: “witch”,
    “id”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “witch”,
    “id”: “AryUOnowHXpaoZMpxg”,
    “url”: “http://akkoma/users/witch”,
    “username”: “witch”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “01JVS2BRAS4XQX73070DBHCC8W”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01JVS2BRAS4XQX73070DBHCC8W”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01JVS2BRAS4XQX73070DBHCC8W”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01JVS2BRAS4XQX73070DBHCC8W”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “01JVS2F8495AQ2NE588BJA13JD”,
    “username”: “the_milkman”,
    “url”: “https://mastodon.social/@the_milkman”,
    “acct”: “the_milkman@mastodon.social”
  },
  {
    “id”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “id”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “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”: “01YC7G1TKPNX42MZHM7EPFTDVB”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “0197e93f-6c64-7424-8915-ee54c21492ea”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0197e93f-6c64-7424-8915-ee54c21492ea”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0197e93f-6c64-7424-8915-ee54c21492ea”,
    “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”: “0197e940-ab40-7ac7-895b-82595c140db5”,
    “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”: “0197e93f-6c64-7424-8915-ee54c21492ea”,
    “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”: “114816814107090969”,
    “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”: “114816814107090969”,
    “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”: “114816814107090969”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “114816814107090969”,
    “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”: “114816823205836321”,
    “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”
  }
]
[
  “a52d9thxirna0002”
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  “a52d9thxirna0002”
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  “a52d9thxirna0002”
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  “a52d9thxirna0002”
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  “a52dc0t2irna002b”
]
{
  “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”: “0197e976-53f1-fa2c-2f96-d3d1876d0def”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0197e976-53f1-fa2c-2f96-d3d1876d0def”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0197e976-53f1-fa2c-2f96-d3d1876d0def”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0197e976-53f1-fa2c-2f96-d3d1876d0def”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “0197e978-f1ca-440f-f61c-26109d891cdd”,
    “username”: “the_milkman”,
    “acct”: “the_milkman@mastodon.social”,
    “url”: “https://mastodon.social/@the_milkman”
  },
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0197e975-16d5-12bf-6fde-d54124ef6de7”,
    “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”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Arybq8nsq7qTXNn0b2”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Arybq8nsq7qTXNn0b2”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Arybq8nsq7qTXNn0b2”,
    “url”: “http://pasture-one-actor/actor”,
    “username”: “actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  },
  {
    “acct”: “actor@pasture-one-actor”,
    “id”: “Arybq8nsq7qTXNn0b2”,
    “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”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “acct”: “full”,
    “id”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “acct”: “full”,
    “id”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “acct”: “full”,
    “id”: “ArybgszmJU0MJjwBJQ”,
    “url”: “http://pleroma/users/full”,
    “username”: “full”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “a52ea999e2tn0002”,
    “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”: “a52ea999e2tn0002”,
    “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”: “a52ea999e2tn0002”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “a52ea999e2tn0002”,
    “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”: “a52ec66pe2tn002d”,
    “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”
}
[]