Hashtags¶
The following mostly illustrates how the name of a hashtag gets transformed by the applications. The input has the form
The last two examples illustrate more technical behavior. For particularities in parsing see Hashtags and JSON-LD.
Support Table Preview¶
| tag | Object | Activity |
|---|---|---|
| #test tag ‘#test’ |
Object | Activity |
| nohash tag ‘nohash’ |
Object | Activity |
| #with-dash_under tag ‘#with-dash_under’ |
Object | Activity |
| #with white space tag ‘#with white space’ |
Object | Activity |
| #with(subtag) tag ‘#with(subtag)’ |
Object | Activity |
| #with123 tag ‘#with123’ |
Object | Activity |
| #1234 tag ‘#1234’ |
Object | Activity |
| #CamelCase tag ‘#CamelCase’ |
Object | Activity |
| #ümläütß tag ‘#ümläütß’ |
Object | Activity |
| #🐄 tag ‘#🐄’ |
Object | Activity |
| #❤️ tag ‘#❤️’ |
Object | Activity |
| #牛 tag ‘#牛’ |
Object | Activity |
| #widehashtag tag ‘#widehashtag’ |
Object | Activity |
| #test broken url parameter |
Object | Activity |
| #test tag ‘#test’ not in list |
Object 🚨 | Activity |
Objects¶
Object 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#test'",
"id": "http://actor.example/object/WC8IDWBhjvk",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#test",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 2¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag 'nohash'",
"id": "http://actor.example/object/an9YjBKAs5o",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "nohash",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 3¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#with-dash_under'",
"id": "http://actor.example/object/lsv8bUrap7A",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#with-dash_under",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 4¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#with white space'",
"id": "http://actor.example/object/o1MPtuhOKT8",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#with white space",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 5¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#with(subtag)'",
"id": "http://actor.example/object/SLn9NxgIQzU",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#with(subtag)",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 6¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#with123'",
"id": "http://actor.example/object/MdP5JRoOGOM",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#with123",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 7¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#1234'",
"id": "http://actor.example/object/Zd54Y4goCgk",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#1234",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 8¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#CamelCase'",
"id": "http://actor.example/object/cVJy79kmPfQ",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#CamelCase",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 9¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#\u00fcml\u00e4\u00fct\u00df'",
"id": "http://actor.example/object/DKXF1wYPBr4",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#\u00fcml\u00e4\u00fct\u00df",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 10¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#\ud83d\udc04'",
"id": "http://actor.example/object/Zx8IX9eR8bA",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#\ud83d\udc04",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 11¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#\u2764\ufe0f'",
"id": "http://actor.example/object/XPvIxS6G7n4",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#\u2764\ufe0f",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 12¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#\u725b'",
"id": "http://actor.example/object/yf0Z9iUV6kM",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#\u725b",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 13¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '\uff03widehashtag'",
"id": "http://actor.example/object/Nggx9NJVOPM",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "\uff03widehashtag",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 14¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "broken url parameter",
"id": "http://actor.example/object/KSRNIwp_SlU",
"published": "2025-11-21T12:05:02Z",
"tag": [
{
"name": "#test",
"type": "Hashtag",
"url": "https://ignore.example"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Object 15¶
❌❌❌ does not obey schema ❌❌❌
{'type': 'Hashtag', 'name': '#test'} is not of type 'array'
Failed validating 'type' in schema['properties']['tag']:
{'default': [],
'description': 'A list of objects that expand on the content of the '
'object',
'items': {'anyOf': [{'$ref': '#/$defs/Hashtag'},
{'$ref': '#/$defs/Mention'},
{'$ref': '#/$defs/ObjectLink'},
{'additionalProperties': True, 'type': 'object'}]},
'type': 'array'}
On instance['tag']:
{'type': 'Hashtag', 'name': '#test'}
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"attributedTo": "http://actor.example",
"content": "tag '#test' not in list",
"id": "http://actor.example/object/60F1Mz90TXw",
"published": "2025-11-21T12:05:02Z",
"tag": {
"name": "#test",
"type": "Hashtag"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Note"
}
Activities¶
Activity 1¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/txqENhVIhNI",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#test'",
"id": "http://actor.example/object/jjsBz67_-Fk",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#test",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 2¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/zNomxVYpbtE",
"object": {
"attributedTo": "http://actor.example",
"content": "tag 'nohash'",
"id": "http://actor.example/object/BmccolQ2bHk",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "nohash",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 3¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/Qsl3tCbzcB4",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#with-dash_under'",
"id": "http://actor.example/object/ijCat5hPIG8",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#with-dash_under",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 4¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/Xe9MnanoT5A",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#with white space'",
"id": "http://actor.example/object/Ed3IkLKZtPI",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#with white space",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 5¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/lbRC6Vt7_q8",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#with(subtag)'",
"id": "http://actor.example/object/JUENMNm4ZDA",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#with(subtag)",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 6¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/Os1GvyjPKMk",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#with123'",
"id": "http://actor.example/object/g0O6FNn4mPk",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#with123",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 7¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/oldpxT0HS5w",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#1234'",
"id": "http://actor.example/object/AAIUO20PAoY",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#1234",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 8¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/sj-NBgwtnik",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#CamelCase'",
"id": "http://actor.example/object/TA1-EViddcs",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#CamelCase",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 9¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/aMwvEjpY2-w",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#\u00fcml\u00e4\u00fct\u00df'",
"id": "http://actor.example/object/H1dmF320J8c",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#\u00fcml\u00e4\u00fct\u00df",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 10¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/WDENlA_MNX4",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#\ud83d\udc04'",
"id": "http://actor.example/object/3hqbdttoDTY",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#\ud83d\udc04",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 11¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/CHViaNttGY8",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#\u2764\ufe0f'",
"id": "http://actor.example/object/lBjShnzFMQ4",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#\u2764\ufe0f",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 12¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/MCx6u9U1ass",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#\u725b'",
"id": "http://actor.example/object/u8vaTDMDSS8",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#\u725b",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 13¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/h_oIJjb-zCc",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '\uff03widehashtag'",
"id": "http://actor.example/object/BHuIu173cdk",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "\uff03widehashtag",
"type": "Hashtag"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 14¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/9_fpyg9sGeo",
"object": {
"attributedTo": "http://actor.example",
"content": "broken url parameter",
"id": "http://actor.example/object/8_6z8MwXPiE",
"published": "2025-11-21T12:05:03Z",
"tag": [
{
"name": "#test",
"type": "Hashtag",
"url": "https://ignore.example"
}
],
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}
Activity 15¶
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"actor": "http://actor.example",
"id": "http://actor.example/activity/RrY2iyCLiio",
"object": {
"attributedTo": "http://actor.example",
"content": "tag '#test' not in list",
"id": "http://actor.example/object/zRtwkRSj0xI",
"published": "2025-11-21T12:05:03Z",
"tag": {
"name": "#test",
"type": "Hashtag"
},
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://remote.example/"
],
"type": "Note"
},
"published": "2025-11-21T12:05:03Z",
"to": [
"http://remote.example/",
"https://www.w3.org/ns/activitystreams#Public"
],
"type": "Create"
}