Hello!
I want to add and use the friends plugin on my blog, but I have one concern.
This faq question seems to imply that people I add as friends will be created as WordPress users for internal use:
This makes me think that their posts are then stored as WordPress posts.
However, this made me wonder: when they make a post themselves, will this post onto my wordpress blog? If so, will this notify users of my email subscription plugin?
In general, are there any actions that I might take (especially via ActivityPub, like reposting/liking/replying) that might cause a post to be created and sent to my email subscription list?
Having a faq or wiki page about this might also be helpful.
Thank you so much for this plugin!
]]>I have this bizarre problem. when i refresh the feed of a user, i get new posts. but it won’t do that automatically, and the debug gives 2024-10-11 19:26:49: Found 20 new posts. Will be fetched again at 2025-10-11 19:26:36.
which is, 2 hours earlier than it ran, and also, uh, a year in the future.
I’m seeing an error with all attempts to parse ActivityPub streams. RSS is working fine.
Error is “An unknown parser name was supplied.
This effects both new and existing subscriptions on both the sites I run Friends on. I’m not really sure how to tell which plugin is causing the error (ActivityPub or Friends).
]]>Hello everyone!
I can’t see my posts in the https://xxx.com/friends/
Is there any configuration I’m missing?
Thanks, Alex Kirk for your awesome job with in this plugin!
when i activate the plugin, the pages and posts in the admin interface disappear. I checked if it was a conflict with another plugin, that does not seem to be the case.
]]>I also have ActivityPub installed. At one time boost and reblog were the same button. While a little janky it largely worked.
Since they seperated, I have yet to see boost do anything other than skip tot he top of the page. I’ve viewed my ActivityPub feed from Mastodon and can confirm that nothing was boosted into the timeline there.
]]>I am subscribed to a few feeds from other WordPress websites, and often when I look at my Friends Feed I see some posts showing twice. The problem seems to go away eventually, but the first time posts are pulled in it seems that they are duplicated. Has anyone else seen this, or have any idea what’s going on?
]]>Hi, I’m wondering if/how I can change the formatting of the post that is created on my site when I reblog a friends’ post.
Out of the box, the original post content is included in a blockquote with a short introduction giving the name of the original user who posted it. I’d like to change the wording in the introduction text (we don’t use the word “blog” on our site), and because of the way my theme renders blockquotes, I’d like to at least add a class to the blockquote in order to change the way it’s displayed with some custom css.
Thanks for a great plugin and for your ongoing work!
]]>Hi!
When I go to https://comunicacionabierta.net/friends what I see are my posts. I thought there would be the Main feed of all my subscriptions and friends, as I would do on Mastodon for example. Is there no way to have a link where I can see the updates of my friends network all together?
Thanks!
]]>On two installs I am getting 403 Forbidden in the consol when I try to reblog (the reblog fails).
I have tried removing all other plugins and this has not fixed the problem.
]]>Edit: User error. Plugin files were blocked from loading… feeling silly.
Environment:
WordPress 6.4.3
Friends 2.8.6
Observation / Issue:
My public Friend’s page shows all content to all users – this includes content marked ‘Friends Only’ as well as content marked ‘Everyone Except Friends’.
Troubleshooting:
– Issue persists when caching is cleared and deactivated.
Hi!
Why when I answer via Friends a publication on the Fediverse it creates a post without a title? Look here: https://comunicacionabierta.net/2024/02/14574/
I’ve set a title myself but there’s even no way to know what I’m answering to. I guess I’m doing something wrong but… what?
Thanks!!!!
]]>Using the ActivityPub plugin, for my community, users can have their own profile and ‘micro blog’ on the site – so anyone in the Fediverse can follow an individual user.
But when it comes to following someone, it’s very inconvenient for them to have to create a fedi account somewhere to follow people – they want to be able to publish once from the community/magazine, and also interact with the rest of the fediverse from that profile on our domain – just to have one identity.
Could you please make a version where any user on WP, perhaps with x role (like Author), can follow any account and have their own internal feed on WP, so it’s not per blog, but per user.
]]>Couldn’t find any similar thread here about this.
I’m using Friends with the ActivityPub plugin and I’m successfully adding mastodon users as friends. But when I try to add a micro.blog friend, the feed shows as empty and a refresh throws a “An error occurred while retrieving the posts.” error when trying. If I follow the URL, the posts are there.
Any idea whats going on? Should this even work? Quite new to ActivityPub so I could also be misunderstanding something completely.
]]>I installed Freinds plug-in to work with ActivityPub. I created two issues. First WP reported this critical error
Error Details
=============
An error of type E_ERROR was caused in line 1215 of the file /…tivitypub.php. Error message: Uncaught TypeError: Argument 1 passed to Friends\Feed_Parser_ActivityPub::modify_incoming_item() must be an instance of Friends\Feed_Item, instance of WP_Error given, called in //html/wp-includes/class-wp-hook.php on line 312 and defined in /…ypub.php:1215
Stack trace:
#0 /html/wp-includes/class-wp-hook.php(312): Friends\Feed_Parser_ActivityPub->modify_incoming_item()
#1 /html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /html/wp-content/plugins/friends/includes/class-feed.php(170): apply_filters()
#3 /html/wp-content/plugins/friends/includes/class-admin.php(2024): Friends\Feed->preview()
#4 /html/wp-includes/class-wp-hook.php(310): Friends\Admin->render_admin_add_frien
Next it seems to block another plug-in using open street map. Once I deactivated Friends that functionality returned.
New to the ActivityPub/Friends combo but not WP plugins
]]>Hello, a problem occurs when Friends plugin is active on my blog.
When I post a comment, it returns a fatal error but the comment gets posted anyways; it happens with my own admin logged in session only, while it all goes smooth if I comment anonymously -not logged in- or another WordPress user/follower does, they get no issue (otherwise they would have told me).
Noticed it was Friends, because deactivating it, the error disappears.
Here’s the error:
Fatal error: Uncaught TypeError: Argument 1 passed to Activitypub\Transformer\Post::transform() must be an instance of WP_Post, string given, called in /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/model/class-post.php on line 37 and defined in /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/transformer/class-post.php:93 Stack trace: #0 /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/model/class-post.php(37): Activitypub\Transformer\Post::transform(‘27281’) #1 /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/friends/feed-parsers/activitypub/class-comment.php(107): Activitypub\Model\Post->__construct(‘27281’) #2 /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(1690): Activitypub\Model\Comment->__construct(555) #3 /home/customer/www/plusbrothers.net/public_html/wp-includes/class-wp-hook.php(310): Friends\Feed_Parse in /home/customer/www/plusbrothers.net/public_html/wp-content/plugins/activitypub/includes/transformer/class-post.php on line 93
WordPress 6.3.1, ActivityPub 1.0.0, latest “Friends” plugin stable version, hosting SiteGround.
What’s wrong? Thanks
]]>My backend ‘Friends’ page generates an Internal Server Error. Turning on WP debugging does not show any error message or notification.
]]>When clicking on the “My public friends profile” link from the menu I get a 404 error.
]]>TypeError: tt is not a function
at ot (https://[snip]/wp-content/plugins/friends/libs/blocks-everywhere/build/index.min.js?ver=7e116ecf70f375d6dba8:24:3286)
at kt (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47633)
at js (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:120746)
at kl (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88654)
at yl (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88582)
at vl (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:88445)
at ol (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85269)
at ul (https://[snip]/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:83826)
at v (https://[snip]/wp-includes/js/dist/vendor/react.min.js?ver=18.2.0:10:3385)
at ce (https://[snip]/wp-includes/js/dist/vendor/react.min.js?ver=18.2.0:10:5527)
I cannot reply to anything at the moment.
]]>I would like to request a feature.
Right now, there are not all that many of us who use the friends plugin. Which makes actually friend requesting anyone fairly unusual.
I would like to propose a feature whereby an instance of the plugin can poll connected friends/acquaintances who would return a list of public-facing website addresses (for each friend/acquaintance). This would give you a friends-of-friends list of suggested bloggers to follow or connect with.
This would offer a network effect where the more people you connect with the more content you can find.
]]>The plugin makes all pages disappear from back-end and clears all post teasers from home page. I tried clearing the cache, but it didn’t help, so there is something seriously off about it. Things seem to return to normal on disabling it.
]]>I edited my friends page just to put a link back to the main site, and it broke. It used to show all the posts in my friends’ feeds, but now as y’all can see, nothing. Is there a copy of what should be on the page somewhere? or instructions for how to edit the page without breaking it?
Thank you in advance ??
]]>on /friends/ page got:
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /…/wp-includes/formatting.php on line 4280
After installing get warning:
Deprecated: strrchr():
Passing null to parameter #1 ($haystack) of type string is deprecated in /…/wp-content/plugins/friends/includes/class-plugin-installer.php on line 497
Hello Alex,
I have read the Friends description and also this GitHub post https://github.com/Automattic/wordpress-activitypub/pull/172. But need a little help understanding. I like the concept of the Friends plugin, but don’t want any other users in my WordPress installation, which seems like the original way this worked. But then reading that post on GitHub I am wondering if adding the ActivityPub parser will in some way let me follow someone of Mastodon without having to add them as a user through the Friends plugin? Is it possible to follow without the users being added no matter the situation? But especially a Mastodon user?
Thank you!
Michelle
]]>Hi Alex, been testing (adding/removing…) this plugin for some time. I thought at the beginning it was an “extension” to ActivityPub (that I use a lot in connection to Mastodon), but finally understood, AP extends Friends, not the opposite.
Context: I have 2 WP blogs (WWW & AMF, with ActivityPub running for 2+years.
I reinstalled the Friends plugin on WWW first and tried RSS subscriptions. No problem, including with AMF. See here.
Installed Friends on AMF too, and tried to connect as Friend (acquaintance as default role on both blogs).
The RSS subscription process worked, the friendship request was sent from AMF to WWW, WWW validated. After 24h, the status is still “pending”…
Main problem: the way content was generated was not looking good, with a lot of blank space between blocks… So tried to play with various options, modifying the parser, requesting full content (option appears inconsistently, both in Front & Back office, and still can’t find how to have it or not…).
I changed the parser to “ActivityPub” as both support it… And I got an email stating the following:
WordPress caught an error with one of your plugins, Friends.
Error Details
=============
An error of type E_ERROR was caused in line 174 of the file /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php. Error message: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php:174
Stack trace:
#0 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(174): array_merge()
#1 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(308): Friends\Feed_Parser_ActivityPub->friends_activitypub_metadata()
#2 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(239): apply_filters()
#4 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/feed-parsers/class-feed-parser-activitypub.php(1225): Friends\Feed_Parser_ActivityPub->update_feed_details()
#5 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(308): Friends\Feed_Parser_ActivityPub->admin_show_update_avatar()
#6 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#7 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#8 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/templates/admin/edit-friend.php(19): do_action()
#9 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/template.php(785): require('...')
#10 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/includes/class-gamajo-template-loader-1-4-0.php(188): load_template()
#11 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/includes/class-gamajo-template-loader-1-4-0.php(99): Gamajo_Template_Loader_1_4_0->locate_template()
#12 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-content/plugins/friends/includes/class-admin.php(1180): Gamajo_Template_Loader_1_4_0->get_template_part()
#13 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(308): Friends\Admin->render_admin_edit_friend()
#14 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#15 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#16 /srv/data/web/vhosts/amf.didiermary.fr/htdocs/wp-admin/admin.php(259): do_action()
#17 {main}
thrown
BTW, the site was absolutely not broken, but the page “Edit User / Friend Settings” was as it just showed the word “Avatar” on top.
Going back to SimplePie (and refreshing/purging) solved the problem.
Quick note: to have the Friends pages work on both blogs, I had to refresh (in Friends FO or BO) and/or purge all caches (W3TC) multiple times while testing till I got things working…
PS: have the error solved by 1.1.1 but how do I update?
Sincerely
DJM
Friends is not working properly with Activity Pub. Under my site health I get the following error:
The Friends Plugin uses users and user roles to determine friendship status between sites.
These are the roles required for the friends plugin: friend, pending_friend_request, friend_request, subscription, post_collection
To fix this: Re-run activation of the Friends plugin.
I tried deactivated the Friends plugin and re-activating it, as well as completely removing it from my plugins and reinstalling it and I still get the same error.
I just downloaded a role editor plugin and through that plugin it is showing all the roles are actually there so I am not sure why this error is occurring. Any ideas as to what might be causing this?
]]>Hello,
Installed this Plugin and when I access the page when I’m not logged in, I get the information that I do not have permission to view the page.
must i add some location to the nginx config?
]]>Right now the Friends plugin is deactivated. But when it is activated it gets rid of or hides my blog posts.
Is there a solution to this?
]]>I added someone’s Mastodon account, and their feed got added as a subscription. No content appeared.
I went to delete it, but I get an error every time and told to check my email inbox for more info, but don’t get any email, even in my spam, which is odd considering I get emails for errors on other plugins.
Any ideas?
]]>