The Wayback Machine - https://web.archive.org/web/20170716044005/https://mastodon.social/users/Gargron/updates/3288643
Eugen is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse.

@gargron responding here anyway, if there's no "type" on an object, it defaults to AS2's Object type.

@cwebber could we add a Link::Hashtag type?

@cwebber also... traditionally hashtags are not namespaced or bound to a URL or URI.. in Atom they are just <category term="foo" />.. So when this object needs an id attribute, or a href attribute, I don't know what to give. If it needed href, would I give the local hashtag URL, or have to store and return the remote one?

@gargron Actually definitely file this on the AP tracker since that's a good point re: where to put these tags.

Previously I used objects without ids, which is contrary to my "don't give objects without ids" suggestion ;)

@gargron If you have a "local" uri for all tag posts, one way to do it is: {"type": "Link", "href": "https://mastodon.example/tags/mytagname", "name": "mytagname"}

@cwebber I mean, yeah, that's possible to do, but I don't know what it could be used for. Would that URI return an OrderedCollection..?

Eugen @Gargron

@cwebber i had another concern: OStatus URIs of the type tag:example.com;12345;foobar are not represented in ActivityPub, but present in Mastodon. How to avoid duplicates between things Mastodon sees via AP vs what it sees via OStatus?

· Web · 0 · 0

@gargron Hm... one route is to add another property via some extension so you can do ostatusTag or something, but admittedly that seems super hairy

@gargron Oh, I didn't realize there's a tag uri scheme out there tools.ietf.org/html/rfc4151

Technically I guess ActivityPub can support this, since it isn't restricted to just http and https uris... though I guess maybe not all implementations might know what to do with it or not?