Mastodon Autopost


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

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

There are two formats available:
Post title + Post URL + Hashtags
Post title + Post Excerpt + Post URL + Hashtags

Find the plugin settings: Settings > Mastodon Autpost Settings

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 Liberapay <3


Mastodon PHP API

This project is using the MastodonOAauthPHP libary


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)


  • Mastodon Autopost settings page


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!


Impec pour arroser Mastodon

Très pratique pour informer son réseau mastodon (pour moi en passant par
Les réglages sont assez fins et très bien qu’on puisse reposter ultérieurment.

Dommage qu’on ne puisse pas personnaliser le message

Works well, very useful

I installed Mastodon Autopost few weeks ago, and it works well. Very useful for posting my article directly on our Mastodon account, without any effort.
I just would suggest to add some default hashtags that would be automatically added to the pouet, and may be the possibility to add individual hashtags to the pouet before it is published. The WP to Diaspora has something like that, which is really a nice have.
Thanks a lot to Liam for this extension.

Edit: Liam has now added the default Hashtag feature, and it is even more useful. Great !

Does what it says it’ll do!

I entered my username and password, then wrote a test post. A nice green banner popped up at the top of the screen saying it successfully tooted, but nothing showed up on Mastodon.

Update: version 1.3 works just fine, I can now start seriously contemplate abandoning Twitter for good.

Read all 4 reviews

Contributors & Developers

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


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.



  • 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