-
How do I send hashtags to mastodon so that they can be hyperlinked and found in a hastag search? I have got data like this:
If I send this to an Mastodon What do I have to do to make Mastodon treat it like a hastag entered via the Mastodon GUI. What do I have to do to have it tagged with a link (tags/examplehastag) and found via Mastodon search. I have tried to add the link myself. But a relative link is being cut out. I cannot give an absolute link because there are various Mastodon instances. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
the type: Hashtag
name: examplehashtag typically you will also have |
Beta Was this translation helpful? Give feedback.
-
I have a related question. I am sending this note to mastodon followers enclosed in a create activity:
It shows nice in mastodon, the card renders, the hashtags are clickable, but seems the hashtags are not indexed. The post does not show in any of the tags lists of the mastodon instances receiving the message. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure this is directly related, but I was asked to add my own experience with this, so here it is... I experimented previously and made a post on Lemmy with hashtags in it, hoping the hashtags would get indexed when boosted by the community's bot into Mastodon, and they weren't. For the hashtags to work I have to make the post on Mastodon in the first place, so what I do now is make the post on Lemmy, then make a post on Mastodon with a link to the Lemmy post, and add the hashtags there. Same limitation applies to editing a post - you can't edit in hashtags afterwards and still have them get indexed - they only get indexed when you originally post (so if you REALLY want to add a hashtag then you just need to make the post again from scratch and not forget it this time). I posted about that at Mastodon - Hashtag reach and readability |
Beta Was this translation helpful? Give feedback.
the
Note
should have atag
property containing an array that includes a node with the following properties:typically you will also have
href: <absolute url>
as well. it should be an absolute link despite what you think -- the link is hijacked and replaced by mastodon to point to the local url. relative links are generally not supported by mastodon's JSON-LD processing