Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. Oh nice! Following a #WordPress blog using #nodebb is working like a charm!Good job @julian #fediverse #activitypub

Oh nice! Following a #WordPress blog using #nodebb is working like a charm!Good job @julian #fediverse #activitypub

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
wordpressnodebbfediverseactivitypub
22 Posts 3 Posters 162 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • pfefferle@mastodon.socialP pfefferle@mastodon.social

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

    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.orgJ This user is from outside of this forum
    julian@community.nodebb.org
    wrote on last edited by
    #5

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

    1 Reply Last reply
    0
    • pfefferle@mastodon.socialP pfefferle@mastodon.social

      @julian btw. I would love to understand/support how NodeBB handles categories and groups!

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on last edited by
      #6

      @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.socialP 1 Reply Last reply
      0
      • julian@community.nodebb.orgJ julian@community.nodebb.org

        @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.socialP This user is from outside of this forum
        pfefferle@mastodon.socialP This user is from outside of this forum
        pfefferle@mastodon.social
        wrote on last edited by
        #7

        @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@community.nodebb.orgJ oplik0@community.nodebb.orgO 2 Replies Last reply
        0
        • pfefferle@mastodon.socialP pfefferle@mastodon.social

          @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@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote on last edited by
          #8

          @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.socialP 2 Replies Last reply
          0
          • julian@community.nodebb.orgJ julian@community.nodebb.org

            @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.socialP This user is from outside of this forum
            pfefferle@mastodon.socialP This user is from outside of this forum
            pfefferle@mastodon.social
            wrote on last edited by
            #9

            @julian yes, couldn’t follow! It is @notiz.blog

            julian@community.nodebb.orgJ 1 Reply Last reply
            0
            • julian@community.nodebb.orgJ julian@community.nodebb.org

              @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.socialP This user is from outside of this forum
              pfefferle@mastodon.socialP This user is from outside of this forum
              pfefferle@mastodon.social
              wrote on last edited by
              #10

              @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@community.nodebb.orgJ 1 Reply Last reply
              0
              • pfefferle@mastodon.socialP pfefferle@mastodon.social

                @julian yes, couldn’t follow! It is @notiz.blog

                julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.org
                wrote on last edited by
                #11

                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"
                }
                
                pfefferle@mastodon.socialP 1 Reply Last reply
                0
                • pfefferle@mastodon.socialP pfefferle@mastodon.social

                  @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@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.org
                  wrote on last edited by
                  #12

                  @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.socialP 1 Reply Last reply
                  0
                  • julian@community.nodebb.orgJ julian@community.nodebb.org

                    @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.socialP This user is from outside of this forum
                    pfefferle@mastodon.socialP This user is from outside of this forum
                    pfefferle@mastodon.social
                    wrote on last edited by
                    #13

                    @julian ok, comments seem to come through today... maybe a glitch or an issue with missing upvotes?

                    1 Reply Last reply
                    0
                    • julian@community.nodebb.orgJ julian@community.nodebb.org

                      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"
                      }
                      
                      pfefferle@mastodon.socialP This user is from outside of this forum
                      pfefferle@mastodon.socialP This user is from outside of this forum
                      pfefferle@mastodon.social
                      wrote on last edited by
                      #14

                      @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@community.nodebb.orgJ 1 Reply Last reply
                      0
                      • pfefferle@mastodon.socialP pfefferle@mastodon.social

                        @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@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote on last edited by
                        #15

                        @pfefferle@mastodon.social any chance you could let me know the json you're sending during the Accept phase?

                        pfefferle@mastodon.socialP 1 Reply Last reply
                        0
                        • julian@community.nodebb.orgJ julian@community.nodebb.org

                          @pfefferle@mastodon.social any chance you could let me know the json you're sending during the Accept phase?

                          pfefferle@mastodon.socialP This user is from outside of this forum
                          pfefferle@mastodon.socialP This user is from outside of this forum
                          pfefferle@mastodon.social
                          wrote on last edited by
                          #16

                          @julian sure, I will send you a DM!

                          julian@community.nodebb.orgJ 1 Reply Last reply
                          0
                          • pfefferle@mastodon.socialP pfefferle@mastodon.social

                            @julian sure, I will send you a DM!

                            julian@community.nodebb.orgJ This user is from outside of this forum
                            julian@community.nodebb.orgJ This user is from outside of this forum
                            julian@community.nodebb.org
                            wrote on last edited by
                            #17

                            @pfefferle@mastodon.social ah sorry, NodeBB cannot accept DMs at this time. Any chance you can message @devnull@crag.social ?

                            pfefferle@mastodon.socialP 1 Reply Last reply
                            0
                            • julian@community.nodebb.orgJ julian@community.nodebb.org

                              @pfefferle@mastodon.social ah sorry, NodeBB cannot accept DMs at this time. Any chance you can message @devnull@crag.social ?

                              pfefferle@mastodon.socialP This user is from outside of this forum
                              pfefferle@mastodon.socialP This user is from outside of this forum
                              pfefferle@mastodon.social
                              wrote on last edited by
                              #18

                              @julian @devnull sure no problem!

                              1 Reply Last reply
                              0
                              • pfefferle@mastodon.socialP pfefferle@mastodon.social

                                @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?!?

                                oplik0@community.nodebb.orgO This user is from outside of this forum
                                oplik0@community.nodebb.orgO This user is from outside of this forum
                                oplik0@community.nodebb.org
                                wrote on last edited by
                                #19

                                @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.socialP 1 Reply Last reply
                                0
                                • oplik0@community.nodebb.orgO oplik0@community.nodebb.org

                                  @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.socialP This user is from outside of this forum
                                  pfefferle@mastodon.socialP This user is from outside of this forum
                                  pfefferle@mastodon.social
                                  wrote on last edited by
                                  #20

                                  @oplik0 ah, maybe its that we use domain@domain as WebFinger ID?

                                  julian@community.nodebb.orgJ oplik0@community.nodebb.orgO 2 Replies Last reply
                                  0
                                  • pfefferle@mastodon.socialP pfefferle@mastodon.social

                                    @oplik0 ah, maybe its that we use domain@domain as WebFinger ID?

                                    julian@community.nodebb.orgJ This user is from outside of this forum
                                    julian@community.nodebb.orgJ This user is from outside of this forum
                                    julian@community.nodebb.org
                                    wrote on last edited by
                                    #21

                                    @pfefferle@mastodon.social the NodeBB community is updated to include @oplik0's commit, so you can try again 🙂

                                    1 Reply Last reply
                                    0
                                    • pfefferle@mastodon.socialP pfefferle@mastodon.social

                                      @oplik0 ah, maybe its that we use domain@domain as WebFinger ID?

                                      oplik0@community.nodebb.orgO This user is from outside of this forum
                                      oplik0@community.nodebb.orgO This user is from outside of this forum
                                      oplik0@community.nodebb.org
                                      wrote on last edited by
                                      #22

                                      @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 the acct: protocol.

                                      So yeah, not WP fault at all, just a combination of a bug and missing feature 🙂 Now both should be fixed.

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Login or register to search.
                                      Powered by NodeBB Contributors
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Popular