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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/i-S-nK4eKok",
"published": "2025-02-15T11:50:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/rwJT9DQ-v5Y",
"published": "2025-02-15T11:50:19Z",
"content": "text @actor@pasture-one-actor",
"tag": [
{
"type": "Mention",
"name": "@actor@test_server",
"href": "http://pasture-one-actor/actor"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q3Y3RDT1RS2QTYDTSA40G",
"created_at": "2025-02-15T11:50:19.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/rwJT9DQ-v5Y",
"url": "http://pasture-one-actor/actor/rwJT9DQ-v5Y",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "text @actor@pasture-one-actor",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 68,
"last_status_at": "2025-02-15T11:50:19.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"url": "http://pasture-one-actor/actor",
"acct": "actor@pasture-one-actor"
},
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/4W9zqGZpiuc",
"published": "2025-02-15T11:50:19Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/tRHHKnPKKF0",
"published": "2025-02-15T11:50:19Z",
"content": "unrelated text",
"tag": [
{
"type": "Mention",
"name": "something something",
"href": "http://pasture-one-actor/actor"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q3Y3RMS62RJS2CG68101Z",
"created_at": "2025-02-15T11:50:19.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/tRHHKnPKKF0",
"url": "http://pasture-one-actor/actor/tRHHKnPKKF0",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "unrelated text",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 69,
"last_status_at": "2025-02-15T11:50:19.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"url": "http://pasture-one-actor/actor",
"acct": "actor@pasture-one-actor"
},
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/hTFsIKyLifo",
"published": "2025-02-15T11:50:20Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/vhBbMkseV4c",
"published": "2025-02-15T11:50:20Z",
"content": "Missing Name @actor@pasture-one-actor",
"tag": [
{
"type": "Mention",
"href": "http://pasture-one-actor/actor"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q3Z30S39AKJ5CEFSG3CX4",
"created_at": "2025-02-15T11:50:20.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/vhBbMkseV4c",
"url": "http://pasture-one-actor/actor/vhBbMkseV4c",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "Missing Name @actor@pasture-one-actor",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 70,
"last_status_at": "2025-02-15T11:50:20.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"url": "http://pasture-one-actor/actor",
"acct": "actor@pasture-one-actor"
},
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/NBd01SuXeGM",
"published": "2025-02-15T11:50:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/RosYtwSm9Dc",
"published": "2025-02-15T11:50:21Z",
"content": "text",
"tag": [
{
"type": "Mention",
"name": "@the_milkman@mastodon.social",
"href": "https://mastodon.social/users/the_milkman"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q4028960Y7WM0A2ZZC9B1",
"created_at": "2025-02-15T11:50:21.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/RosYtwSm9Dc",
"url": "http://pasture-one-actor/actor/RosYtwSm9Dc",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "text",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 71,
"last_status_at": "2025-02-15T11:50:21.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01JM4Q40821R262NWQQR2DGBJQ",
"username": "the_milkman",
"url": "https://mastodon.social/@the_milkman",
"acct": "the_milkman@mastodon.social"
},
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/OgJU13pCRKg",
"published": "2025-02-15T11:50:21Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/7ZNf-zp_LRM",
"published": "2025-02-15T11:50:21Z",
"content": "text",
"tag": [
{
"type": "Mention",
"name": "@dummy@example",
"href": "https://dummy.example"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q40281ZM4A4EZKPA3Z6XF",
"created_at": "2025-02-15T11:50:21.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/7ZNf-zp_LRM",
"url": "http://pasture-one-actor/actor/7ZNf-zp_LRM",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "text",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 72,
"last_status_at": "2025-02-15T11:50:21.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Z05MvDKWSmY",
"published": "2025-02-15T11:50:22Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/BXoIEi-Isvg",
"published": "2025-02-15T11:50:22Z",
"content": "text",
"tag": [
{
"type": "Mention",
"name": "@test_actor@test_server",
"href": "http://test_actor"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
no result
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/hWdopwrsVsM",
"published": "2025-02-15T11:50:33Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/Q7zbSBSjaIg",
"published": "2025-02-15T11:50:33Z",
"content": "text",
"tag": [
{
"type": "as:Mention",
"name": "yay",
"href": "http://pasture-one-actor/actor"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q4BS8FQMG01CGA4HQ1C0G",
"created_at": "2025-02-15T11:50:33.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/Q7zbSBSjaIg",
"url": "http://pasture-one-actor/actor/Q7zbSBSjaIg",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "text",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 73,
"last_status_at": "2025-02-15T11:50:33.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}
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://gotosocial/users/cookie",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/cgaWTs7uYdg",
"published": "2025-02-15T11:50:34Z",
"object": {
"type": "Note",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://gotosocial/users/cookie"
],
"id": "http://pasture-one-actor/actor/NfRh_e_sQOM",
"published": "2025-02-15T11:50:34Z",
"content": "@actor text",
"tag": [
{
"name": "@actor",
"href": "http://pasture-one-actor/actor"
},
{
"type": "Mention",
"href": "http://gotosocial/users/cookie"
}
]
}
}
gotosocial
{
"id": "01JM4Q4CRGXR42SY873576TJE5",
"created_at": "2025-02-15T11:50:34.000Z",
"in_reply_to_id": null,
"in_reply_to_account_id": null,
"sensitive": false,
"spoiler_text": "",
"visibility": "public",
"language": null,
"uri": "http://pasture-one-actor/actor/NfRh_e_sQOM",
"url": "http://pasture-one-actor/actor/NfRh_e_sQOM",
"replies_count": 0,
"reblogs_count": 0,
"favourites_count": 0,
"favourited": false,
"reblogged": false,
"muted": false,
"bookmarked": false,
"pinned": false,
"content": "@actor text",
"reblog": null,
"account": {
"id": "01JM4Q0JSSGZ5ZVQKH9ZP4S8D8",
"username": "actor",
"acct": "actor@pasture-one-actor",
"display_name": "Test Actor",
"locked": true,
"discoverable": false,
"bot": false,
"created_at": "2025-02-15T11:48:29.127Z",
"note": "",
"url": "http://pasture-one-actor/actor",
"avatar": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"avatar_static": "http://gotosocial/assets/default_avatars/GoToSocial_icon5.png",
"header": "http://gotosocial/assets/default_header.png",
"header_static": "http://gotosocial/assets/default_header.png",
"followers_count": 0,
"following_count": 0,
"statuses_count": 74,
"last_status_at": "2025-02-15T11:50:34.000Z",
"emojis": [],
"fields": []
},
"media_attachments": [],
"mentions": [
{
"id": "01D7RQJ29VBSRM705B1DQFH2BK",
"username": "cookie",
"url": "http://gotosocial/@cookie",
"acct": "cookie"
}
],
"tags": [],
"emojis": [],
"card": null,
"poll": null
}