Skip Navigation

How to Set Up ActivityPub for Self-Hosted WordPress Sites

jseggers.com /technology/how-to-set-up-activitypub-for-self-hosted-wordpress-sites/

I wrote a detailed guide on configuring ActivityPub, Friends, and several other plugins to turn your self-hosted WordPress website into a node on the fediverse.

12 评论
  • I've been largely disappointed with my attempts to use ActivityPub with Wordpress. I do revisit it every now and then.

    Because of how federation works, you will not see any old posts. There is no mechanism for pulling up the history of posts and displaying them.

    That's not true. Reading the ActivityPub outbox is the way to do that. Mastodon doesn't and I'm not entirely sure why (though I could probably find out).

    I have also had poor results trying to use the Friends plugin with ActivityPub. Incoming replies result in high CPU usage for many seconds, and outgoing replies didn't show up last time I tried it.

    • I agree, that the implementation has its issues, but it's a start. Version 2.0 is supposed to drop in a week or two, which brings some needed enhancements. I didn't realize that the lack of post history was Mastodon-specific. However, when I try to view my blog through different sources I have the same issue, so maybe that's a standard practice?

      • I'm not sure if any projects actually do automatic backfill, but they could and there does seem to be a desire to implement it.

        This is your ActivityPub outbox (as JSON). The part it doesn't seem to handle nicely is pasting an object ID/post URL into some other fediverse software to fetch the post manually, which is how someone would interact with an old post from a new follow on Mastodon.

        I want to enable comments via ActivityPub (and only via ActivityPub) for a site I use Wordpress on, but I'm not sure I'm sufficiently motivated to try to debug the Friends plugin myself.

  • Very cool, I had to manage the setup with the official support and scattered issues on the web. Glad you collated it all into one resource.

12 评论