How to get tags added to Mastodon posts as hashtags?
-
How do I get the WordPress tags on a post added as hashtags to the Mastodon post that WordPress will now create when publishing?
Thanks!
The blog I need help with is: (visible only to logged in users)
-
Hi there,
We use the Mastodon API to share blog posts on your account there, but we are limited in that we cannot add our own functionality, only use what is provided in the API.
I this case, there is not a way to auto-convert WordPress post tags into Mastodon hashtags, as the only way to add those is to type them in directly.
More info about sharing to social media here:
Connect your site to social media platforms and automatically share your posts to your connected accounts. This guide will show you how to share your posts on social media using Jetpack Social (formerly known as Publicize.) Set Up Jetpack Social To connect your site to your social networks, take the following steps: Visit your site’s dashboard. In the left side options, navigate toLet us know if you need further assistance or if you have any questions.
-
It seems kind of silly that WordPress couldn’t add the tags to the end of the post before sending it via the API.
-
-
Just to expand on what @supernovia mentioned, did you know that you can write a custom message for your connected social media sites? Here’s more on that: https://wordpress.com/support/post-automatically-to-social-media/#share-a-post
You can add your hashtags directly in the custom message box that should be shared on your social media platforms.
-
I just checked the latest post on swduncan.com and I can see the hashtags on my Mastodon instance.

-
Hi pfefferle – Yes, the recent fediverse integration/ActivityPub plugin does include tags as hashtages, but not the marketing connection to Mastodon does not. ActivityPub doesn’t solve the problem.
The ActivityPub route creates an account on Mastodon that can’t follow anyone, can’t see mentions, and can’t be posted to without using WordPress. So any short-form stuff needs to come from a different account, which is separate. While I _love_the hashtag inclusion, the extra unbranded account is an unwanted complication.
-
Ah, sorry for misunderstanding the issue! I thought this was about the ActivityPub integration!
- The topic ‘How to get tags added to Mastodon posts as hashtags?’ is closed to new replies.
