Enable Mastodon Apps

설명

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. 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.

스크린샷

  • You authorize Mastodon Apps through your own WordPress’s login UI.
  • The Mastodon Apps settings page.

후기

2023년 9월 13일
Thank you so much for writing this , so useful for Status updates.
2023년 6월 25일 답글 1개
The only functionality it seems to have working is log in via Mastodon app. Gives error message when uploading any content via my Mastodon apps (tried Icecube, Metatext and Mastoot). Checked the support forum and somebody else is having the same issue but has received no response so it doesn’t give me much hope. Look forward to one day seeing this working, but not worth installing right now.
모든 3 평가 읽기

기여자 & 개발자

“Enable Mastodon Apps”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Enable Mastodon Apps”(이)가 2 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Enable Mastodon Apps”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

0.9.4

  • Added a dedicated page per app in the settings. There you can set which post types should be shown in the app. Also which post type should be created for new posts. (#154)
  • Fixed authenticating Jetpack so that you can connect WordPress.com to this plugin (#152)

0.9.3

  • Bring back the upgrade code.

0.9.2

  • Quick fix to disable the upgrade script to avoid errors.

0.9.1

  • Allow an empty search type, to search in all categories (#150) props @pfefferle
  • Don’t reactivate the Link Manager (#148)
  • Avoid errors when dividing strings (#147) props @mattwiebe
  • Don’t include spam comments in the feed (#149)
  • Ensure no spaces in URLs (#144)
  • Fix some typos on the Welcome Screen (#143)

0.9.0

  • Complete Rewrite, started at the Cloudfest Hackathon! Props @pfefferle, @drivingralle, @kittmedia, @obenland
  • Thus: all ActivityPub related tasks are handled by the ActivityPub plugin, all following-related tasks by the Friends plugin. Please make sure you have the latest version of those plugins if you want to use such features
  • Reorganized settings, added a way to tester the local api (#138, #140)
  • Allow Editing a submitted status (#137)
  • Improves to Attachments (#132, #136)
  • Fix OAuth rewrite path (#130)

0.6.6

  • Implement Autoloader (#73)
  • Add scope adherence (#76)

0.6.5

  • Fix missing image attachments for WordPress posts, props @thatguygriff (#72)

0.6.4

  • Address an incompatibility with the IndieAuth plugin (#65)