Oh nice! Following a #WordPress blog using #nodebb is working like a charm!Good job @julian #fediverse #activitypub
-
Thanks @pfefferle@mastodon.social! All I did was implement the protocol as many others have done. Half the credit would go to you as well for the other end of the integration!
It is really cool to be able to follow a blog from a forum. Are comments from the fediverse integrated?
wrote on 23 Apr 2024, 14:23 last edited by@julian The plugin federates posts and comments.
But for now, a WordPress User can only be followed, I have no idea how to implement the following part nicely (yet).
-
Thanks @pfefferle@mastodon.social! All I did was implement the protocol as many others have done. Half the credit would go to you as well for the other end of the integration!
It is really cool to be able to follow a blog from a forum. Are comments from the fediverse integrated?
wrote on 23 Apr 2024, 14:28 last edited by@julian btw. I would love to understand/support how NodeBB handles categories and groups!
-
@julian The plugin federates posts and comments.
But for now, a WordPress User can only be followed, I have no idea how to implement the following part nicely (yet).
wrote on 23 Apr 2024, 14:33 last edited by@pfefferle@mastodon.social I think there's a bit of a push to provide a full fediverse client (that includes two-way interaction between users). That's what the NodeBB integration is trying to do — to be that all-in-one fediverse client.
But the reality is there's no reason you have to do that. Simply federating content out and maybe ingesting responses back as comments would be a feature complete integration as far as I'm concerned! Anything else is gravy.
-
@julian btw. I would love to understand/support how NodeBB handles categories and groups!
wrote on 23 Apr 2024, 14:45 last edited by@pfefferle@mastodon.social categories in NodeBB are exposed via ActivityPub just like users, so they can be followed by remote users (just like how local users can "watch" a category, I suppose).
We follow FEP-1b12 at the moment, which means all posts are Announced by the category actor to any followers.
-
@pfefferle@mastodon.social categories in NodeBB are exposed via ActivityPub just like users, so they can be followed by remote users (just like how local users can "watch" a category, I suppose).
We follow FEP-1b12 at the moment, which means all posts are Announced by the category actor to any followers.
wrote on 23 Apr 2024, 15:20 last edited by@julian I do that for the blog-wide user. It is from the type group and boosts all posts from every author. But it seems to be not compatible with NodeBB for now?!?
-
@julian I do that for the blog-wide user. It is from the type group and boosts all posts from every author. But it seems to be not compatible with NodeBB for now?!?
wrote on 23 Apr 2024, 15:25 last edited by@pfefferle@mastodon.social what was the issue, are you not able to follow the blog-wide user?
May I have the handle so I can take a look?
-
@pfefferle@mastodon.social what was the issue, are you not able to follow the blog-wide user?
May I have the handle so I can take a look?
wrote on 23 Apr 2024, 15:34 last edited by@julian yes, couldn’t follow! It is @notiz.blog
-
@pfefferle@mastodon.social what was the issue, are you not able to follow the blog-wide user?
May I have the handle so I can take a look?
wrote on 23 Apr 2024, 16:56 last edited by@julian and I have to debug comments... they seem to also be broken
Can you maybe give me a level where I can post more often?
-
@julian yes, couldn’t follow! It is @notiz.blog
wrote on 24 Apr 2024, 03:08 last edited byHey @pfefferle@mastodon.social, I looked into it, and NodeBB can successfully resolve your instance actor via webfinger, but cannot make an S2S GET call to
https://notiz.blog/@notiz.blog
I receive the following error:
{ "error":"This method requires an authenticated user" }
-
@julian and I have to debug comments... they seem to also be broken
Can you maybe give me a level where I can post more often?
wrote on 24 Apr 2024, 03:11 last edited by@pfefferle@mastodon.social said:
Can you maybe give me a level where I can post more often?
Done! Your local account just needed a couple upvotes I think, so I did that now.
-
@pfefferle@mastodon.social said:
Can you maybe give me a level where I can post more often?
Done! Your local account just needed a couple upvotes I think, so I did that now.
wrote on 24 Apr 2024, 06:20 last edited by@julian ok, comments seem to come through today... maybe a glitch or an issue with missing upvotes?
-
Hey @pfefferle@mastodon.social, I looked into it, and NodeBB can successfully resolve your instance actor via webfinger, but cannot make an S2S GET call to
https://notiz.blog/@notiz.blog
I receive the following error:
{ "error":"This method requires an authenticated user" }
wrote on 24 Apr 2024, 06:40 last edited by@julian The HTML version (HTTP Request without Accept header) does redirect to the main page, but if you add the Accept header to get the JSON it will work even without signature. (I have not yet enabled AUTHORIZED_FETCH).
I ran some tests and it seems to work up to the Follow `Accept` response where I receive a 500 from the NodeBB inbox.
-
@julian The HTML version (HTTP Request without Accept header) does redirect to the main page, but if you add the Accept header to get the JSON it will work even without signature. (I have not yet enabled AUTHORIZED_FETCH).
I ran some tests and it seems to work up to the Follow `Accept` response where I receive a 500 from the NodeBB inbox.
wrote on 24 Apr 2024, 12:08 last edited by@pfefferle@mastodon.social any chance you could let me know the json you're sending during the Accept phase?
-
@pfefferle@mastodon.social any chance you could let me know the json you're sending during the Accept phase?
wrote on 24 Apr 2024, 15:16 last edited by@julian sure, I will send you a DM!
-
@julian sure, I will send you a DM!
wrote on 24 Apr 2024, 17:00 last edited by@pfefferle@mastodon.social ah sorry, NodeBB cannot accept DMs at this time. Any chance you can message @devnull@crag.social ?
-
@pfefferle@mastodon.social ah sorry, NodeBB cannot accept DMs at this time. Any chance you can message @devnull@crag.social ?
wrote on 24 Apr 2024, 17:01 last edited by -
@julian I do that for the blog-wide user. It is from the type group and boosts all posts from every author. But it seems to be not compatible with NodeBB for now?!?
wrote on 25 Apr 2024, 13:23 last edited by@pfefferle@mastodon.social Should be fixed now in https://github.com/NodeBB/NodeBB/commit/700016649d25ee5bc6c3fa17e03003677d7f5b5d (not yet deployed here).
The issue was that apparently for the blog actor WP sent actor URI and not
username@host
- which AFAIK is perfectly valid, NodeBB just assumed the latter was always the case -
@pfefferle@mastodon.social Should be fixed now in https://github.com/NodeBB/NodeBB/commit/700016649d25ee5bc6c3fa17e03003677d7f5b5d (not yet deployed here).
The issue was that apparently for the blog actor WP sent actor URI and not
username@host
- which AFAIK is perfectly valid, NodeBB just assumed the latter was always the casewrote on 25 Apr 2024, 13:35 last edited by@oplik0 ah, maybe its that we use domain@domain as WebFinger ID?
-
@oplik0 ah, maybe its that we use domain@domain as WebFinger ID?
wrote on 25 Apr 2024, 15:27 last edited by@pfefferle@mastodon.social the NodeBB community is updated to include @oplik0's commit, so you can try again
-
@oplik0 ah, maybe its that we use domain@domain as WebFinger ID?
wrote on 25 Apr 2024, 18:08 last edited by@pfefferle@mastodon.social it was actually because of
@
in actor IDs - the codepath for choosing a webfinger lookup over just accepting the URL as the ID only checked for its presence, and the code for webfinger lookups was only meant to run for theacct:
protocol.So yeah, not WP fault at all, just a combination of a bug and missing feature
Now both should be fixed.