Skip to content

Hashtags

The following mostly illustrates how the name of a hashtag gets transformed by the applications. The input has the form

"tag": {"type": "Hashtag", "name": "${tag}"}

The last two examples illustrate more technical behavior.

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/F-gIBm7aG0U",
  "published": "2025-03-12T10:50:28Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/3ZIJrk1lSHE",
    "published": "2025-03-12T10:50:28Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#test"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/WtK5djq-jTo",
  "published": "2025-03-12T10:50:39Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/vW5VSOhcgfA",
    "published": "2025-03-12T10:50:39Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "nohash"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/1O_EGoWasEE",
  "published": "2025-03-12T10:50:50Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/GoypdhZweYU",
    "published": "2025-03-12T10:50:50Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with-dash_under"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/fGuARWlQKnI",
  "published": "2025-03-12T10:51:00Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/RBl2EdGDW0c",
    "published": "2025-03-12T10:51:00Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with white space"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/Oa1Ggy5jvvw",
  "published": "2025-03-12T10:51:11Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/nGNVaIP6IoE",
    "published": "2025-03-12T10:51:11Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with(subtag)"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/SSFTNYFDpvk",
  "published": "2025-03-12T10:51:22Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/ptuhYBaIWkU",
    "published": "2025-03-12T10:51:22Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with123"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/6wnVFpTQNFA",
  "published": "2025-03-12T10:51:33Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/gTrAd-hn5ck",
    "published": "2025-03-12T10:51:33Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#1234"
    }
  }
}

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": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/V2vnRMxuPRk",
  "published": "2025-03-12T10:51:43Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/DhwOyh5oLUo",
    "published": "2025-03-12T10:51:43Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#CamelCase"
    }
  }
}

Example 9

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/y11XZiYMTE0",
  "published": "2025-03-12T10:51:54Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/Y1F8uAmdFiE",
    "published": "2025-03-12T10:51:54Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\u00fcml\u00e4\u00fct\u00df"
    }
  }
}

Example 10

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/JnQVfxE2V28",
  "published": "2025-03-12T10:52:05Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/694K6FQL1Q4",
    "published": "2025-03-12T10:52:05Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\ud83d\udc04"
    }
  }
}

Example 11

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/9nWQMOyw9cA",
  "published": "2025-03-12T10:52:15Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/S97RTQjRqG4",
    "published": "2025-03-12T10:52:15Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\u2764\ufe0f"
    }
  }
}

Example 12

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/DZ9eUSfaqEo",
  "published": "2025-03-12T10:52:26Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/FGoHwFgtS_0",
    "published": "2025-03-12T10:52:26Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\u725b"
    }
  }
}

Example 13

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/n5s5cUgrr4g",
  "published": "2025-03-12T10:52:37Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/mzGXNPPkXkg",
    "published": "2025-03-12T10:52:37Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#test",
      "url": "https://ignore.example"
    }
  }
}

Example 14

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/Fgu20XY0zXs",
  "published": "2025-03-12T10:52:48Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/nKLqnLs2VFk",
    "published": "2025-03-12T10:52:48Z",
    "content": "text",
    "tag": {
      "type": "as:Hashtag",
      "name": "#test"
    }
  }
}

Example 15

activity
{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "Hashtag": "as:Hashtag",
      "sensitive": "as:sensitive"
    }
  ],
  "type": "Create",
  "actor": "http://pasture-one-actor/actor",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public",
    "http://misskey/users/a59bykudnkgb0003"
  ],
  "id": "http://pasture-one-actor/actor/c6MBL4jz-D4",
  "published": "2025-03-12T10:52:58Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a59bykudnkgb0003"
    ],
    "id": "http://pasture-one-actor/actor/DPvSvzm4R4Q",
    "published": "2025-03-12T10:52:58Z",
    "content": "text",
    "tag": {
      "name": "#test"
    }
  }
}