Testing ActivityPub federation on the forum

Discourse now supports ActivityPub as a method of accessing posts, and we’re testing this out with the General > News category and our announcements. You’ll be able to find out about Mastodon posts and even reply to posts from Mastodon and they’ll show up here!

Hint: If you have a Mastodon account, link it to your forum account at https://discuss.privacyguides.net/my/preferences/activity-pub. That way if you reply or like a post on Mastodon, it will perform the reply/like here with your forum account :wink:

See https://discuss.privacyguides.net/ap/about for details.

If you notice anything odd or have any questions, this is the place for them! :backhand_index_pointing_down:

22 Likes

@jonah cool :)

2 Likes

@jonah, when I enter rokejulianlockhart@mastodon.social with the type set to “Mastodon”, I see:

An error occurred: You supplied invalid parameters to the request: Discourse::InvalidParameters

Is anyone else able to authorise a mastodon.social account?

Ah, ignore me. You’re solely meant to enter the domain. I’d ignored the placeholder text.

1 Like

linking to an Akkoma account doesn’t seem to work, throws up an insufficient permissions message even though it should be authorised lol

1 Like

@jonah done. I am curious how it will work :)

1 Like

Weirdly I don’t see the reply over ok your mastodon (also Activists much? :wink: But hey I respect your mastodon so you get a follow ) However if you see it on your side, works.
edit: MB! I see it on the floss.social instance

@GorujoCY Hey, I see it, nice! But I didn't get a notification for it. I noticed only because of the follow. Thanks btw and right back at ya (curious if i see all your forum posts on my mastodon feed now) :) And it seems the sync is fast, I tried several edits and by the time I clicked on the forum tab it was already there.

2 Likes

@jonah hey, thats awesome!

@jonah Welcome to fedi.

Just linked my accounts, it’s great seeing the fediverse grow🙌

1 Like

@jonah, two more things of genuine note:

  1. I can somehow authenticate with my own account, here:

    image

    Could this be problematic?

  2. Entering capital letters also causes Discourse::InvalidParameters, despite DNS being case-insensitive.

Is this for Discourse Meta, though?

1 Like

I didn’t expect Discourse to be able to federate. As a fedi lover, I truly appreciate this.

6 Likes

it could for a while but I guess discourse made it stable which is amazing honestly, I personally feel more forums should federate like this but that’s just my opinion

2 Likes

@jonah Cool :blobcatcool: .

EDIT: I guess Mastodon emojis don't work on Discourse hehe.

Does this work with lemmy?

1 Like

Can this be explained further? Does it mean that all the posts here are mirrored on Mastodon?

1 Like

It’s not mirroring. It’s just a different way to access posts. You have to think of ActivityPub like HTTP: it’s simply a protocol to access information. We’ve always published the forum with HTTP of course, and now it is published with ActivityPub as well (in certain categories).

You use a web browser to access HTTP content, and you use an ActivityPub client to access ActivityPub content. Mastodon is one example of an ActivityPub client you could use to read posts, yes.

2 Likes

Hello.
There may be an issue with the settings of your forum software. It looks like this is a reply to a post. I have made an acount there, some time ago, but have never contributed so I assume there is an issue.
Good luck with the troubleshooting and have a good rest of the day.