Mastodon Autopost


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:
* Mastodon:

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

Please consider donating via PayPal <3



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


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


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


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


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!


27. marts, 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.
3. februar, 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.
14. november, 2022
I can't connect properly with the Mastodon server. After login to the server I get an error message after authorisation
10. november, 2022
Recently I tried to share articles on Mastodon and this plugin has been very helpful in that. When a new blog post is released it reliably creates a toot with header, excerpt, hashtags and a little thumbnail. Customization of the post template is no problem and it's easy to configure and set up.
Read all 20 reviews

Bidragsydere & udviklere

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


“Mastodon Autopost” er blevet oversat til 7 sprog. Tak til oversætterne for deres bidrag.

Translate “Mastodon Autopost” into your language.

Interesseret i udvikling?

Gennemse koden, tjek SVN repository, eller abonner på udviklerloggen via RSS.



  • Add content warning from tags
  • Fix hashtags


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


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


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


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


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


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



  • Auth workflow change


  • Change permission for settings page to manage_options


  • 5.0 Fix: Post only the tags of the post


  • Add version check to prevent call to undefined 5.0 function


  • 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)


  • revert change


  • strip_shortcodes to don’t toot them


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


  • Avoid empty thumbnail path (Thanks to ldidry)


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


  • Also toot post hashtags (Thanks to jops)


  • Added spanish translation


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


  • Changed to wordpress HTTP library


  • Add proper error messages


  • Removed token prompt in favor of nativ div

  • OAuth server communication bug

  • Fixed ajax server data bug


  • 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”


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

  • Fixed settings page bug

  • Added information to settings page

  • Updated translation: Français

  • New translation: Français


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

1.0.1 &

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

1.0.1 &

  • Show notfication if post gets tooted


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