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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/k18zD7VP1cg",
  "published": "2025-03-07T13:05:26Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/8qM7bZrlI_s",
    "published": "2025-03-07T13:05:26Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#test"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/oaWAkX_P6YE",
  "published": "2025-03-07T13:05:40Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/Xpjyx4iOnEY",
    "published": "2025-03-07T13:05:40Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "nohash"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/sNkYCxnfbw4",
  "published": "2025-03-07T13:05:53Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/EZ3GMdfrrzc",
    "published": "2025-03-07T13:05:53Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with-dash_under"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/xH_IIarIaTk",
  "published": "2025-03-07T13:06:06Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/QisiBOWV1io",
    "published": "2025-03-07T13:06:06Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with white space"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/JfqJZ9_PgJo",
  "published": "2025-03-07T13:06:19Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/hvtc3tEcNNk",
    "published": "2025-03-07T13:06:19Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with(subtag)"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/L0h5NMRi1n4",
  "published": "2025-03-07T13:06:32Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/W_CxQMgMygI",
    "published": "2025-03-07T13:06:32Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#with123"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/xYtCFrH2uQA",
  "published": "2025-03-07T13:06:46Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/k_sd7kT7hII",
    "published": "2025-03-07T13:06:46Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#1234"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/PoIMNQJNS8o",
  "published": "2025-03-07T13:06:59Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/3owrXQLpcBw",
    "published": "2025-03-07T13:06:59Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#CamelCase"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/YTYVlBlpMVA",
  "published": "2025-03-07T13:07:12Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/SWqCp27TPYU",
    "published": "2025-03-07T13:07:12Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\u00fcml\u00e4\u00fct\u00df"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/pbo2HD-4R9o",
  "published": "2025-03-07T13:07:25Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/TdvhVDczPaM",
    "published": "2025-03-07T13:07:25Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\ud83d\udc04"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/Er3YqzZ1Szw",
  "published": "2025-03-07T13:07:38Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/D2OdrAKQ6q8",
    "published": "2025-03-07T13:07:38Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\u2764\ufe0f"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/eEgJO5SVdA8",
  "published": "2025-03-07T13:07:52Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/DfdztDa1roI",
    "published": "2025-03-07T13:07:52Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#\u725b"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/vPAybZZUZSs",
  "published": "2025-03-07T13:08:05Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/P5nsyN-xtaI",
    "published": "2025-03-07T13:08:05Z",
    "content": "text",
    "tag": {
      "type": "Hashtag",
      "name": "#test",
      "url": "https://ignore.example"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/gx4krBSFSdI",
  "published": "2025-03-07T13:08:18Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/TStdJI_RIIw",
    "published": "2025-03-07T13:08:18Z",
    "content": "text",
    "tag": {
      "type": "as:Hashtag",
      "name": "#test"
    },
    "cc": []
  }
}

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://mbin/u/oscar"
  ],
  "id": "http://pasture-one-actor/actor/cqzaADRJs1o",
  "published": "2025-03-07T13:08:31Z",
  "object": {
    "type": "Note",
    "attributedTo": "http://pasture-one-actor/actor",
    "to": [
      "https://www.w3.org/ns/activitystreams#Public",
      "http://mbin/u/oscar"
    ],
    "id": "http://pasture-one-actor/actor/YzOnrlRHaW8",
    "published": "2025-03-07T13:08:31Z",
    "content": "text",
    "tag": {
      "name": "#test"
    },
    "cc": []
  }
}