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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/k5KUmD8DyWw",
  "published": "2024-11-22T15:45:32Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/11lhZCZN7xI",
    "published": "2024-11-22T15:45:32Z",
    "content": "text @actor@pasture-one-actor",
    "tag": {
      "type": "Mention",
      "name": "@actor@test_server",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
misskey
{
  "id": "a0wh900w5jgn001j",
  "createdAt": "2024-11-22T15:45:32.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text @actor@pasture-one-actor",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "mentions": [
    "a0wh463r5jgn0002"
  ],
  "uri": "http://pasture-one-actor/actor/11lhZCZN7xI",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/JXpjhZn9T1Y",
  "published": "2024-11-22T15:45:33Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/wXmCGcbIufQ",
    "published": "2024-11-22T15:45:33Z",
    "content": "unrelated text",
    "tag": {
      "type": "Mention",
      "name": "something something",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
misskey
{
  "id": "a0wh90so5jgn001k",
  "createdAt": "2024-11-22T15:45:33.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "unrelated text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "mentions": [
    "a0wh463r5jgn0002"
  ],
  "uri": "http://pasture-one-actor/actor/wXmCGcbIufQ",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/viTdb-TziV0",
  "published": "2024-11-22T15:45:34Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/Yrb3PsJlkVs",
    "published": "2024-11-22T15:45:34Z",
    "content": "Missing Name @actor@pasture-one-actor",
    "tag": {
      "type": "Mention",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
misskey
{
  "id": "a0wh91kg5jgn001l",
  "createdAt": "2024-11-22T15:45:34.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "Missing Name @actor@pasture-one-actor",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "mentions": [
    "a0wh463r5jgn0002"
  ],
  "uri": "http://pasture-one-actor/actor/Yrb3PsJlkVs",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/-LFEb3F_IWA",
  "published": "2024-11-22T15:45:34Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/0VE4gZazMbQ",
    "published": "2024-11-22T15:45:34Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@the_milkman@mastodon.social",
      "href": "https://mastodon.social/users/the_milkman"
    }
  }
}
misskey
{
  "id": "a0wh91kg5jgn001o",
  "createdAt": "2024-11-22T15:45:34.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "mentions": [
    "a0wh92lo5jgn001m"
  ],
  "uri": "http://pasture-one-actor/actor/0VE4gZazMbQ",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/CP7S7LaNWmU",
  "published": "2024-11-22T15:45:36Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/srl92hxT07s",
    "published": "2024-11-22T15:45:36Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@dummy@example",
      "href": "https://dummy.example"
    }
  }
}
misskey
{
  "id": "a0wh93405jgn001p",
  "createdAt": "2024-11-22T15:45:36.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/srl92hxT07s",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/YxGE5Etosjo",
  "published": "2024-11-22T15:45:36Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/T6X0zAHzuJo",
    "published": "2024-11-22T15:45:36Z",
    "content": "text",
    "tag": {
      "type": "Mention",
      "name": "@test_actor@test_server",
      "href": "http://test_actor"
    }
  }
}
misskey
{
  "id": "a0wh93405jgn001q",
  "createdAt": "2024-11-22T15:45:36.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/T6X0zAHzuJo",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/YGsa6xHaWj0",
  "published": "2024-11-22T15:45:37Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/35_E16-uArA",
    "published": "2024-11-22T15:45:37Z",
    "content": "text",
    "tag": {
      "type": "as:Mention",
      "name": "yay",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
misskey
{
  "id": "a0wh93vs5jgn001r",
  "createdAt": "2024-11-22T15:45:37.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/35_E16-uArA",
  "clippedCount": 0
}

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/a0wh2n1f43tl0001",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/OqJ4v6mG-r0",
  "published": "2024-11-22T15:45:38Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a0wh2n1f43tl0001"
    ],
    "id": "http://pasture-one-actor/actor/VOkZ3TauLCY",
    "published": "2024-11-22T15:45:38Z",
    "content": "@actor text",
    "tag": {
      "name": "@actor",
      "href": "http://pasture-one-actor/actor"
    }
  }
}
misskey
{
  "id": "a0wh94nk5jgn001s",
  "createdAt": "2024-11-22T15:45:38.000Z",
  "userId": "a0wh463r5jgn0002",
  "user": {
    "id": "a0wh463r5jgn0002",
    "name": "Test Actor",
    "username": "actor",
    "host": "pasture-one-actor",
    "avatarUrl": "http://misskey/identicon/actor@pasture-one-actor",
    "avatarBlurhash": null,
    "avatarDecorations": [],
    "isBot": false,
    "isCat": false,
    "instance": {
      "name": null,
      "softwareName": null,
      "softwareVersion": null,
      "iconUrl": null,
      "faviconUrl": null,
      "themeColor": null
    },
    "emojis": {},
    "onlineStatus": "unknown"
  },
  "text": "@actor text",
  "cw": null,
  "visibility": "public",
  "localOnly": false,
  "reactionAcceptance": null,
  "renoteCount": 0,
  "repliesCount": 0,
  "reactionCount": 0,
  "reactions": {},
  "reactionEmojis": {},
  "emojis": {},
  "fileIds": [],
  "files": [],
  "replyId": null,
  "renoteId": null,
  "uri": "http://pasture-one-actor/actor/VOkZ3TauLCY",
  "clippedCount": 0
}