Share on Mastodon

Description

Automatically share WordPress posts on Mastodon.

You choose which Post Types are shared, though sharing can still be disabled on a per-post basis.

Supports image uploads, WordPress’s new block editor, and comes with a number of filter hooks for developers.

More details can be found on this plugin’s GitHub page.

Credit

Share icon by Heroicons, licensed under the terms of the MIT License. Elephant illustration sourced from Mastodon’s Press Kit.

Installation

Within WP Admin, visit Plugins > Add New and search for “share on mastodon” to locate the plugin. (Alternatively, upload this plugin’s ZIP file via the “Upload Plugin” button.)

After activation, head over to Settings > Share on Mastodon to authorize WordPress to post to your Mastodon account.

More detailed instructions can be found on this plugin’s GitHub page.

Reviews

جنوري 8, 2023 1 reply
Very easy to install and setup, it simply posts the title of your post and its url to Mastodon. I would like to see a slight increase in customisability, so you could maybe add some default text and hashtags to that post (''New post from This Blog: [title][url] # # # ''). If thats not added I'll likely move away from this plugin to a more advanced one.
دسمبر 30, 2022 3 replies
UPDATE: This was user error, apparently you need to include the https:// too Unable to use this as it claims that 'botsin.space' is an invalid URL/instance.
اکتوبر 31, 2022
This plugin does exactly what it promises to do: share my posts on Mastodon. Initial setup is very simple and it works right away in basic form. There is a lot of fine-tuning available and it's not difficult to get it working the way you like it. Just visit Jan Boddez's blog to get the details on how to do this. Tested with WordPress version 6.03.
Read all 4 reviews

Contributors & Developers

“Share on Mastodon” is open source software. The following people have contributed to this plugin.

Contributors

“Share on Mastodon” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Share on Mastodon” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.10.1

Avoid duplicate posts CPT without explicit custom field support.

0.10.0

Add (experimental) support for in-post images, and alt text fallback.

0.9.0

Additional share_on_mastodon_toot_args filter argument. Add stable tag.

0.8.0

Add as Micropub syndication target.

0.7.0

Include option to delay crossposting. Might be used to try to fix issues with slow image uploads and the like.

0.6.6

Exclude more default post types. Store Mastodon username in settings.

0.6.5

Prevent older WP versions from adding featured images twice.

0.6.4

Provide filter for “opt-in” sharing.

0.6.2

Slightly more robust Mastodon host URL handling.

0.6.1

Fix array notices.

0.6.0

Add URL information in meta box.

0.5.1

Avoid double-encoded HTML entities.

0.5.0

Support uploading of up to 4 attached images. Add additional arguments filter, e.g, for toot threading.

0.4.1

Fix Post_Handler actions.

0.4

Added token verification cron job.

0.3.1

Added ability to add image descriptions, improved debugging.

0.3

Allow Post_Handler hooks to be removed, too.

0.2

Fix transition_post_status parameter order.

0.1

Initial release.