Lemmy-NodeBB federation

@devnull I hope you can see this here as Im unable to create posts in NodeBB category. Im currently trying to get federation with NodeBB working, but it fails because Pages reference the Group in audience field as https://community.nodebb.org/category/31/threadiverse-working-group, however the returned object has an id of https://community.nodebb.org/category/31. The Group has to be rejected then for security reasons (see here). So to fix this you should put the actual Group.id into Page.audience field.

I also tried to create a post on NodeBB from voyager.lemmy.ml but it didnt show up. Do you need to whitelist the instance first, or is there another incompatibility? Feel free to create a test account on that instance to check it, I will approve it asap.

3 Likes

Thanks for the feedback, will take a look at this today if I can.

You’re right, the id should be the one sent back.

How are you trying to create the post, by mentioning the category actor directly?

I don’t think I actually support that yet. Forgot about it, but will add it to the top of the backlog

1 Like

Post creation looks like this on Lemmy. You can also register an account on the test instance and try it yourself.

@nutomic as per FEP-7888, I am updating topic URLs so that they now return an as:OrderedCollection, although I will keep audience intact as required by FEP-1b12.

I will update it so audience matches the Group uri.

Great its working now!

I also sent a follow request and a reply, both of them went through successfully :slight_smile:

1 Like

@nutomic what is the preferred way for Lemmy to ingest an activity to create a new context/post?

Group actor in audience with no inReplyTo?

Yes that sounds right. If it doesnt work, send me the activity json then I will throw it into the test cases and see whats wrong.

Hi @nutomic, this took longer than expected — not because it took a lot of effort but because I kept getting distracted with other project items.

Anyway, I think it should work now, but I was not able to test myself with a post on voyager.lemmy.ml since my account is pending approval :slight_smile:

By the way, I wanted to use your Lemmy instance to go to @testing-ground@community.nodebb.org but it was not able to resolve. Could you help debug that?

2 Likes

I approved your account on voyager. For the testing ground whats the url? I didnt find it on the website, and wasnt able to resolve it manually via webfinger (https://community.nodebb.org/.well-known/webfinger?resource=acct:testing-ground@community.nodebb.org).

Yes that is the URL. Interesting that it doesn’t resolve, does it resolve in your browser?

Might be because we don’t allow spiders in the category…

@nutomic Working now: Hello from Lemmy, part 3 | NodeBB Community

1 Like