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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/LQcSm-1j2gc",
  "published": "2025-04-11T08:51:23Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/VRLY4UjpbWY",
    "published": "2025-04-11T08:51:23Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/OjrP1ZFQ-Co",
  "published": "2025-04-11T08:51:34Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/G56SJ9Pd7tA",
    "published": "2025-04-11T08:51:34Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/j60borHXrk8",
  "published": "2025-04-11T08:51:44Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/HRjPFXS7Pl4",
    "published": "2025-04-11T08:51:44Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/cljQ4ppKeQk",
  "published": "2025-04-11T08:51:55Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/3EdjDex32r0",
    "published": "2025-04-11T08:51:55Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/PaIjtgJoRlk",
  "published": "2025-04-11T08:52:06Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/wKrqWw7b4V4",
    "published": "2025-04-11T08:52:06Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/vF62n-feld4",
  "published": "2025-04-11T08:52:16Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/VyBXSj4-Pzw",
    "published": "2025-04-11T08:52:16Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/9dJ41IR85Dk",
  "published": "2025-04-11T08:52:27Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/xXD3izlGkKM",
    "published": "2025-04-11T08:52:27Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/j11gaWYsfmM",
  "published": "2025-04-11T08:52:38Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/0UieJsThSKI",
    "published": "2025-04-11T08:52:38Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/BNJgRaEBUOs",
  "published": "2025-04-11T08:52:49Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/HSX4ufw2aNo",
    "published": "2025-04-11T08:52:49Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/5_G7GynvNQY",
  "published": "2025-04-11T08:52:59Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/YYpTz71U_lc",
    "published": "2025-04-11T08:52:59Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/0S5hnFxqy3U",
  "published": "2025-04-11T08:53:10Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/EwHUB6JbIOM",
    "published": "2025-04-11T08:53:10Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/RhU-RpSkpnw",
  "published": "2025-04-11T08:53:21Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/KFhPYF5lT9g",
    "published": "2025-04-11T08:53:21Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/LQjk5dxk2Kk",
  "published": "2025-04-11T08:53:32Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/5FXwJnlz2FU",
    "published": "2025-04-11T08:53:32Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/UvYjL2ZDRIE",
  "published": "2025-04-11T08:53:42Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/w9r5hZ69Tz4",
    "published": "2025-04-11T08:53:42Z",
    "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": [
    "http://misskey/users/a6g2x9ocfyaz0003",
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "id": "http://pasture-one-actor/actor/0QTKVtOLSOg",
  "published": "2025-04-11T08:53:53Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://misskey/users/a6g2x9ocfyaz0003"
    ],
    "id": "http://pasture-one-actor/actor/BcEwzCzqOWc",
    "published": "2025-04-11T08:53:53Z",
    "content": "text",
    "tag": {
      "name": "#test"
    }
  }
}