This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Mastodon Autopost

Description

A WordPress Plugin that automatically posts your new articles to Mastodon. The best: It is set and forget!

With Mastodon Autopost your post always get automatically posted to your Mastodon account.

Find the plugin settings: Settings > Mastodon Autpost

Just set your credentials and your post preference and lean back. The rest is done in the background and you don’t have to care about it.

For any questions, do not hesitate to contact me:
* Mail: mastodonautopost@simon-frey.com
* Mastodon: indiehackers.social/@simon

Do you want to help translating this plugin in your language? Visit the translation page

Please consider donating via PayPal <3

Credits

Kernox

This project is baseds on hellexis Mastodon Share Plugin. We are currently working together on a new one to combine our workforce.

Graphics

Thanks to
* Ricardo Gomez Angel – Background Image (CC0)
* Flaticon– icon used in the logo (Flaticon Basis License)
* Wikipedia – Mastodon logo used in the logo (CC0)
* Bastien Ho & agentcobra – French translation and internationalization help
* jorgesumle – Spanish translation

Idea

Special thanks to Chris Riding for inspiring this plugin with his original gnusocial project (GPLv2)

Screenshots

  • Welcome site if you are not logged in
  • Basic settings
  • Advanced settings

FAQ

Can I decide per post if I want to autopost it?

Yes. Since version 1.1 you see a settings box in every post.

Does the plugin send you my login data?

The plugin never transmits any data to me, or anyone else than the mastodon node you set in the settings!

Reviews

July 16, 2024 3 replies
I have Wordpress version Version 6.5.5 installed on July 2024 and just installed Mastodon Autopost which perfectly posted an already written article on mastodon by simply ticking the box for it to do so and clicking on “update”. After ot worked once it died – so yes – it is dead now due to abandonment. So go ahad and install it – if a bunch of others use it, it might be revived.I especially like that this is one addon for one simpel social network, so it is lightweight. Edit: Why the hell did Wordpress moderators mark this post as spam???I did undergo the process to register only to help the community and some moderators here seem to sabotage it.
March 27, 2023
Just hangs in a loop saying “Authentification, please wait…”Refreshing the page appears as if it works, but it never publishes any posts automatically. The manual test post from the Settings works, but never an automatic or manual post from Posts.
February 3, 2023
Das Plugin tut genau was es soll. Einmal mit meinem Mastodon Profil verbunden landen alle Ankündigungen zu meinem Blogartikeln im Fediverse – ohne, dass ich noch etwas tun muss. Praktisch ist, dass man den Aufbau des Postings selbst etwas gestalten kann. Also, ob man zuerst die Überschrift, oder den Link zum Artikel haben möchte – und auch, ob man Tags oder Kategorien auflisten möchte. Wer seine Artikel auf Mastodon ankündigen/bewerben möchte, für den:die ist das Plugin genau das Richtige.
November 14, 2022
I can’t connect properly with the Mastodon server. After login to the server I get an error message after authorisation
Read all 20 reviews

Contributors & Developers

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

Contributors

“Mastodon Autopost” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Mastodon Autopost” into your language.

Interested in development?

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

Changelog

3.7

  • Add content warning from tags
  • Fix hashtags

3.6

  • Allow the plugin to work on custom post types (Thanks to unicode-it)

3.5

  • Use categorys as hashtags on posts (Thanks to rseabra)

3.4

  • Fix for the manual added excerpt to also get encoded and remove html tags

3.3.4

  • Remove toot editor javascript as we do not have a toot editor anymore

3.3.3

  • Change permission for settings pages
  • Update for HTML tags striping

3.3.2

  • Remove HTML tags from excerpt (with php strip_tags())

3.3

3.2.7

  • Auth workflow change

3.2.6

  • Change permission for settings page to manage_options

3.2.5

  • 5.0 Fix: Post only the tags of the post

3.2.4

  • Add version check to prevent call to undefined 5.0 function

3.2.3

  • fixup for tags
  • remove hardcoded [...] from post excerpt
  • different excerpt function
  • Works with 5.0 and Gutenberg Editor
  • Create future toot the moment it gets tooted (not upfront)

3.2.2

  • revert change

3.2.1

  • strip_shortcodes to don’t toot them

3.2

  • Escape HTML codes in the toots (Thanks to ojdo)
  • Leave name for the the links to get nicer permalinks

3.1

  • Avoid empty thumbnail path (Thanks to ldidry)

3.0

  • Adapt to the base code of kernox
  • More error handling

2.1

  • Also toot post hashtags (Thanks to jops)

2.0.9

  • Added spanish translation

2.0.4

  • Evaluates content HTML before tooting it
  • Changed to official naming convention “Mastodon”
  • Requires now minimum version 4.6 for translations via the translation page

2.0.3

  • Changed to wordpress HTTP library

2.0.2

  • Add proper error messages

2.0.1

  • Removed token prompt in favor of nativ div

2.0.0.2

  • OAuth server communication bug

2.0.0.1

  • Fixed ajax server data bug

2.0

  • Changed backend libary
  • Now working with oauth
  • OTP and 2FA working
  • Different post formats available
  • Set post visibility
  • Suggest mastodon server
  • Works now also with pages
  • Test settings working again
  • The toot notification shows the url of the tooted post
  • For syndication: The plugin attaches the posted url to the post meta data. The tag is “mastodonAutopostLastSuccessfullPostURL”

1.3

  • Improved Feedback on post toot
  • Test Settings button, to check server settings
  • Global Hashtags that get added to every toot
  • Minor UX improvements

1.1.0.4

  • Fixed settings page bug

1.1.0.3

  • Added information to settings page

1.1.0.2

  • Updated translation: Français

1.1.0.1

  • New translation: Français

1.1

  • Decide per post if you want to toot it to mastodon

1.0.1 & 1.0.1.5

  • Added easy method for internationalization (get_text)
  • New translation: Deutsch

1.0.1 & 1.0.1.1

  • Show notfication if post gets tooted

1.0

  • Inital Plugin
  • New Functions: post on update, post only on publishing