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”: “01JQ11QM5JKM0XPQD9F110ZSBH”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01JQ11QM5JKM0XPQD9F110ZSBH”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01JQ11QM5JKM0XPQD9F110ZSBH”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “01JQ11QM5JKM0XPQD9F110ZSBH”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  },
  {
    “id”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “01JQ11V3NVQZCFGBYY7NAA0B1Q”,
    “username”: “the_milkman”,
    “url”: “https://mastodon.social/@the_milkman”,
    “acct”: “the_milkman@mastodon.social”
  },
  {
    “id”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “id”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “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”: “01AJKH2GQGHF8XDARSGR3GZS89”,
    “username”: “cookie”,
    “url”: “http://gotosocial/@cookie”,
    “acct”: “cookie”
  }
]
tag mentions Example
[
  {
    “type”: “Mention”,
    “name”: “@actor@test_server”,
    “href”: “http://pasture-one-actor/actor”
  }
]
[
  {
    “id”: “0195707d-b9c5-79f8-9344-719e8be30ad6”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0195707d-b9c5-79f8-9344-719e8be30ad6”,
    “username”: “actor”,
    “url”: null,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0195707d-b9c5-79f8-9344-719e8be30ad6”,
    “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”: “0195707e-f9ac-71a4-a036-640602d11ca0”,
    “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”: “0195707d-b9c5-79f8-9344-719e8be30ad6”,
    “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”: “114177208810611355”,
    “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”: “114177208810611355”,
    “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”: “114177208810611355”,
    “username”: “actor”,
    “url”: “http://pasture-one-actor/actor”,
    “acct”: “actor@pasture-one-actor”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “114177208810611355”,
    “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”: “114177219158121845”,
    “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”: “0195c223-48dc-88d5-e832-b27aae69ec7a”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@actor@test_server”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0195c223-48dc-88d5-e832-b27aae69ec7a”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “something something”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0195c223-48dc-88d5-e832-b27aae69ec7a”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0195c223-48dc-88d5-e832-b27aae69ec7a”,
    “username”: “actor”,
    “acct”: “actor@pasture-one-actor”,
    “url”: “http://pasture-one-actor/actor”
  },
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@the_milkman@mastodon.social”,
  “href”: “https://mastodon.social/users/the_milkman”
}
[
  {
    “id”: “0195c225-dc69-1677-47e2-91f2a71f115c”,
    “username”: “the_milkman”,
    “acct”: “the_milkman@mastodon.social”,
    “url”: “https://mastodon.social/@the_milkman”
  },
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@dummy@example”,
  “href”: “https://dummy.example”
}
[
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “Mention”,
  “name”: “@test_actor@test_server”,
  “href”: “http://test_actor”
}
[
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “username”: “admin”,
    “acct”: “admin”,
    “url”: “http://mitra/users/admin”
  }
]
{
  “type”: “as:Mention”,
  “name”: “yay”,
  “href”: “http://pasture-one-actor/actor”
}
[
  {
    “id”: “0195c222-30d5-0dee-05f4-9a48f4250d73”,
    “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”
}
[]