フォロワーを確認するページが分からない。

こちらのサイトのことではなく、以前からあったWordPressのサイトにプラグインActivityPubを入れてみたのだが、以前はプラグイン入れても動作する気配がなくて諦めた。

ActivityPubというプラグインをインストールしてみたが使い方が分からず「無効」にする | ひとりネズミ
https://hitorinezumi.cloudfree.jp/wp/20250201-1/

これはWordPressのサイトがサブディレクトリーにあったかららしく、その場合には特殊な設定が必要だったらしい。

“What if you are running your blog in a subdirectory?

In order for webfinger to work, it must be mapped to the root directory of the URL on which your blog reside

Apache

Add the following to the .htaccess file in the root directory:

RedirectMatch "^\/\.well-known/(webfinger|nodeinfo)(.*)$" /blog/.well-known/$1$2

Where ‘blog’ is the path to the subdirectory at which your blog resides.

ActivityPub – WordPress プラグイン | WordPress.org 日本語
https://ja.wordpress.org/plugins/activitypub/#what%20if%20you%20are%20running%20your%20blog%20in%20a%20subdirectory%3F

私の場合は、.htaccess fileに次のように記述すれば良いらしい。

RedirectMatch "^\/\.well-known/(webfinger|nodeinfo)(.*)$" /wp/.well-known/$1$2

その結果、機能していそうな気はするのだが、mastodon-japan.netのアカウントからフォローできない。ただ、fedibirdのアカウントからはフォローできた。プロフィールのアイコンが変だが…。

さて、fedibirdのアカウントからフォローできたとして、それをWordPressの方で確認したいのだが、ここのアカウントのようにActivityPubの設定ページから開けない。フォロワー一覧のURLに直接アクセスすることで、見ることができた。ちゃんとフォローされてた。

“Where can you manage your followers?

If you have activated the blog user, you will find the list of his followers in the settings under /wp-admin/options-general.php?page=activitypub&tab=followers.

The followers of a user can be found in the menu under “Users” -> “Followers” or under wp-admin/users.php?page=activitypub-followers-list.

For reasons of data protection, it is not possible to see the followers of other users.

ActivityPub – WordPress プラグイン | WordPress.org 日本語
https://ja.wordpress.org/plugins/activitypub/#where%20can%20you%20manage%20your%20followers%3F

ただ、wp-adminのページからのリンクが見つからない。どこかにあるのだろうか?

コメント

  1. ishii ishii より:

    あった。
    ユーザーのサブメニューに「ユーザー一覧」「新規ユーザーを追加」「プロフィール」「フォロワー」「追加フィールド」があって、「フォロワー」を選択すれば、ログインしているユーザーでのフォロワーが表示された。
    ちなみに、こちらのサイトはブログプロフィールがユーザーになっているが、あっちでは「投稿者プロフィールのみ」をユーザーとして、新しいユーザーを追加した。
    @ishii

タイトルとURLをコピーしました