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.

Examples

Example 1

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/YkBVyOHCcLs",
  "published": "2025-06-03T09:12:53Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/zh0XIlIRPaM",
    "published": "2025-06-03T09:12:53Z",
    "content": "basic mention; mention as list of dictionaries",
    "tag": [
      {
        "type": "Mention",
        "name": "@actor@test_server",
        "href": "http://pasture-one-actor/actor"
      }
    ]
  }
}

Example 2

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/oAD2pXtgjYg",
  "published": "2025-06-03T09:13:04Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/dQgJl2T-egQ",
    "published": "2025-06-03T09:13:04Z",
    "content": "text @actor@pasture-one-actor; mention as dictionary",
    "tag": {
      "type": "Mention",
      "name": "@actor@test_server",
      "href": "http://pasture-one-actor/actor"
    }
  }
}

Example 3

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/r1JVqTV1EGc",
  "published": "2025-06-03T09:13:15Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/AKTic_h5PEU",
    "published": "2025-06-03T09:13:15Z",
    "content": "unrelated text",
    "tag": {
      "type": "Mention",
      "name": "something something",
      "href": "http://pasture-one-actor/actor"
    }
  }
}

Example 4

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/aHk_pv3OtLg",
  "published": "2025-06-03T09:13:25Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/dhN9YwMjnjE",
    "published": "2025-06-03T09:13:25Z",
    "content": "Missing Name @actor@pasture-one-actor",
    "tag": {
      "type": "Mention",
      "href": "http://pasture-one-actor/actor"
    }
  }
}

Example 5

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/iNpXb2L4x4g",
  "published": "2025-06-03T09:13:36Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/6agzdwXJBZU",
    "published": "2025-06-03T09:13:36Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@the_milkman@mastodon.social",
      "href": "https://mastodon.social/users/the_milkman"
    }
  }
}

Example 6

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/5cDSnTxMkEk",
  "published": "2025-06-03T09:13:47Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/xWF9wza5XSI",
    "published": "2025-06-03T09:13:47Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@dummy@example",
      "href": "https://dummy.example"
    }
  }
}

Example 7

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/i7mcpi78w2I",
  "published": "2025-06-03T09:13:58Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/Ni-bHyWoLjY",
    "published": "2025-06-03T09:13:58Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@test_actor@test_server",
      "href": "http://test_actor"
    }
  }
}

Example 8

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "http://misskey/users/a8jupxivzylk0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/2X2rVKS1EvU",
  "published": "2025-06-03T09:14:08Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a8jupxivzylk0003"
    ],
    "id": "http://pasture-one-actor/actor/GbgYjHrnGIk",
    "published": "2025-06-03T09:14:08Z",
    "content": "text",
    "tag": {
      "type": "as:Mention",
      "name": "yay",
      "href": "http://pasture-one-actor/actor"
    }
  }
}