Enable Mastodon Apps

Allow accessing your WordPress with Mastodon clients. Just enter your own blog URL as your instance.

Author:Alex Kirk (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.2.4
Plugin version:0.6.6
Added to WordPress repository:28-03-2023
Last updated:14-02-2024
Rating, %:74
Rated by:3
Plugin URI:https://github.com/akirk/enable-mastodon-apps
Total downloads:4 646
Active installs:300+
plugin download
Click to start download

Despite Mastodon implying that you would use this plugin for engaging on Mastodon (when you have enabled it for that, see below), the plugin is useful when installed on a plain WordPress.

When you use a Mastodon app, you’ll enter your own blog URL to connect and log in to your blog in the following screens.

You’ll then see just the posts on your blog which can already be useful in a multi-author environment (e.g. private blogs). You can also use that Mastodon app to create simple posts with a message + attachment(s) which can be better suited for your usecase than using the Gutenberg-capable WordPress mobile app.

When used in combination with the ActivityPub (for being followed via Mastodon) and Friends (for following people on Mastodon or via RSS) plugins, the Enable Mastodon Apps plugin will show you your feed of people you follow and you can follow and unfollow people from within the app.

Be aware that an app will have a post format associated (see the settings page). The plugin will check for the existance of the Friends plugin to find a resonable default (status with Friends plugin, standard otherwise). When you create a post with your Mastodon app, the post format that you selected for the app will be used.

The plugin has been tested with quite a number of Mastodon clients, among them are:

Many more, see the Third-party apps section on joinmastodon.org/apps. Each app might have its quirks, [please report an issue when you have troubles[(https://github.com/akirk/enable-mastodon-apps/issues). There is also a chance that the API has not been implemented yet (see below.)

Mastodon API Implementation

The plugin implements the Mastodon API as documented on joinmastodon.org: The OAuth API for logging in (you will see your WordPress login screen when logging in to your Mastodon app, it also works with 2FA plugins) and the REST API for accessing your data.

Here is a list of endpoints and their implementation status:

Unmentioned endpoints are not implemented. Contributions welcome!

Endpoints around interacting with non-local users require the ActivityPub plugin. Following users requires the Friends plugin. Lists-related endpoints require the Friends Roles plugin.


Screenshots
ChangeLog