# ActivityPub Plugin

**URL:** https://meta.discourse.org/t/activitypub-plugin/266794
**Category:** Plugin
**Tags:** experimental, activitypub
**Created:** [May 31, 2023, 5:21pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794 "2023-05-31T17:21:52Z")
**Posts on this page:** 20
**Page:** 15

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [July 26, 2024, 12:24pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/285 "2024-07-26T12:24:12Z")

</div>

> [@angus](#):
>
> Good catch @mcdanlj.

I wonder whether it’s related to the fact that, even after re-following and getting listed here, I didn’t see this post, made about an hour ago, show up in my mastodon feed:

> [@Allowing a backup email system](https://meta.discourse.org/t/allowing-a-backup-email-system/318557):
>
> Currently, my system is forced to use a free mail service called mailjet. Our website gets way more traffic then how much mailjet can offer. Although this may not be possible it would be a life saver.

[Edited] Similarly, I didn’t get any of the 30 July 3.2.5, 3.3.0beta5, or 3.3.0 release note announcements from #announcements either, even though I do show up in the list of followers.

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [August 6, 2024, 11:11pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/286 "2024-08-06T23:11:06Z")

</div>

Angus, when my post goes to mastodon, people respond and the post appears on my forum. But is it not possible to respond to the person who responded to me, directly through my forum?

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [August 8, 2024, 12:49am UTC](https://meta.discourse.org/t/activitypub-plugin/266794/287 "2024-08-08T00:49:04Z")

</div>

Hey David, it should be possible to do that. Please check your logs for any warnings when the reply is made. It’s also possible Mastodon isn’t accepting it for some reason.

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [August 8, 2024, 12:56am UTC](https://meta.discourse.org/t/activitypub-plugin/266794/288 "2024-08-08T00:56:22Z")

</div>

Sorry Angus. It was worked fine now.

and sorry for asking that, but do you have any news about the adaptation with Lemmy? I’m very anxious for this

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [August 8, 2024, 12:58am UTC](https://meta.discourse.org/t/activitypub-plugin/266794/289 "2024-08-08T00:58:04Z")

</div>

> [@David\_Ghost](#):
>
> Sorry Angus. It was worked fine now.

I’m glad it’s working.

> [@David\_Ghost](#):
>
> do you have any news about the adaptation with Lemmy?

Full Lemmy support is on the agenda, but I don’t have an ETA for you at the moment. I’ll let you know.

---

<div class="post-metadata">

### Author: ![David\_Ghost](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@David\_Ghost](https://meta.discourse.org/u/David_Ghost)
#### Post date: [August 8, 2024, 1:05am UTC](https://meta.discourse.org/t/activitypub-plugin/266794/290 "2024-08-08T01:05:23Z")

</div>

> [@angus](#):
>
> I’m glad it’s working.

Thank you. I just checked it one more time, its publishes the post from my forum to Mastodon, but its dont tag correctly:

 ![Screenshot_2024-08-08-03-02-08-355_com.android.chrome-edit](https://global.discourse-cdn.com/meta/original/4X/a/d/4/ad49bfddc774c7085efba902cd1240090fb271fe.jpeg)

So I guess the person doesn’t know they’ve been answered?

---

<div class="post-metadata">

### Author: ![Crakila](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crakila/32/439545_2.png) [@Crakila](https://meta.discourse.org/u/Crakila)
#### Post date: [August 11, 2024, 11:58am UTC](https://meta.discourse.org/t/activitypub-plugin/266794/291 "2024-08-11T11:58:49Z")

</div>

Hi there. Congratulations on the release of the ActivityPub plugin.

I am having some issues though. I recently set up a new Discourse site on a new server and installed the AP plugin. All up-to-date with the latest versions

I have set up the actor for ‘General’ category, and it is enabled.  
On Mastodon, I can see the account `@general@forum.39.ie` but when I go to ‘Follow’ it and refresh the page, it indicates that it is waiting to be accepted as a follower (like a Private Profile)  
The account doesn’t appear in the ‘Followers’ page within General category \> Federation

In the logs, it shows the following:

```plaintext
[Discourse Activity Pub] POST request received by https://forum.39.ie/ap/actor/899d0b715d05d8360ff7fcb114c9c818/inbox failed: 401 Actor not found for key https://mastodon.ie/users/padraig#main-key 

```

Whenever I post in the General Forum and wait the 5 minutes, the AP logo still has a strike through it stating: “Note was not published via ActivityPub.” even though that AP is enabled.  
It gives me the AP link `https://forum.39.ie/ap/object/22b6a43c4d8ff6347360fa332ffffacf`

Within the logs, I do see the following:

```plaintext
[Discourse Activity Pub] GET request received by https://forum.39.ie/ap/object/fb7a31ae2fd15df4ee8a46644d4dbebb failed: 400 Bad request
[Discourse Activity Pub] https://forum.39.ie/ap/actor/899d0b715d05d8360ff7fcb114c9c818 failed to schedule https://forum.39.ie/ap/activity/1e68cf435ea927f3d828bc9f063f8bad for delivery: no recipients 

```

Which would make sense, no point in publishing if no one is following, but if I can’t follow the category successfully.

Have I perhaps missed a step, or would something be getting in the way?  
If there is anything else that is needed, please let me know. 🙂

---

<div class="post-metadata">

### Author: ![ecki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ecki/32/264025_2.png) [@ecki](https://meta.discourse.org/u/ecki)
#### Post date: [August 28, 2024, 7:34pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/293 "2024-08-28T19:34:31Z")

</div>

Is there still a federated stream from any meta tag/category available? The handle @feature… does not seem to work anymore? (Or has anybody a good alternate discourse instance publishing a feed for test purpose)

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [August 28, 2024, 7:47pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/294 "2024-08-28T19:47:18Z")

</div>

That should still be working, yes. The handle is `feature@meta.discourse.org` and I see it in my Mastodon instance:

 ![](https://global.discourse-cdn.com/meta/original/4X/3/9/8/3986598e9b8f171620fd06e95de97c7ad954fdc7.png)

There is also `announcements@meta.discourse.org`, that should be working as well.

---

<div class="post-metadata">

### Author: ![ecki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ecki/32/264025_2.png) [@ecki](https://meta.discourse.org/u/ecki)
#### Post date: [August 28, 2024, 8:55pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/295 "2024-08-28T20:55:22Z")

</div>

I found the handles and the Federation tab but when I use the “go to profile” in the Mastodon search result on my own server it prevents a 404 (strange enough against my own server). Normally the search redirect works - will try later with some better diagnostics - what’s the expected profile url on meta?

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [August 28, 2024, 9:48pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/296 "2024-08-28T21:48:42Z")

</div>

> [@mcdanlj](#):
>
> Similarly, I didn’t get any of the 30 July 3.2.5, 3.3.0beta5, or 3.3.0 release note announcements from #announcements::category either, even though I do show up in the list of followers.

I didn’t see yesterday’s announcement in my Mastodon timeline either. So the problem persists. Are logs still around to investigate why it is broken for me?

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [August 29, 2024, 5:55pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/297 "2024-08-29T17:55:27Z")

</div>

The release note announcements don’t get published automatically because we write them in a shared draft and that process doesn’t work out-of-the-box with the AP plugin. It is a known limitation.

I manually scheduled publishing for a few topics now, just to make sure that the rest of the integration still works.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [August 29, 2024, 10:01pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/298 "2024-08-29T22:01:31Z")

</div>

So I’ve still never seen any posts at all from either `@feature@meta.discourse.org` or `@announcements@meta.discourse.org` even thought I unfollowed and refollowed.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [September 5, 2024, 2:25am UTC](https://meta.discourse.org/t/activitypub-plugin/266794/300 "2024-09-05T02:25:03Z")

</div>

I looked into the problem I’m seeing a little more. I followed `@feps@socialhub.activitypub.rocks` and it gets all three levels of domain and [displays the follow](https://socialhub.activitypub.rocks/ap/local/actor/1/followers) properly.

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/2/2/b220bc066279ccd53d008b98c0ac037efcc3184f.png)

Whereas it is still broken here on meta:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/a/7/0a703a7a3276fae6086c9e154bc0190fdbf8b9f7.png)

I still have seen nothing from following `@feature@meta.discourse.org`

So it looks like whatever is breaking meta is specific to meta, but it’s definitely broken.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [September 5, 2024, 12:26pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/301 "2024-09-05T12:26:39Z")

</div>

In case it helps for looking at logs, I again “tried turning it off and back on again” by un-following and re-following both federated categories. It still shows the wrong name for me. Because this doesn’t affect me on socialhub.activitypub.rocks I’m guessing that this is a data bug from me being one of the earliest adopters of trying to follow here in the first place, so I have a broken entry in the database on meta.

@pmusaraj I don’t suppose someone at CDCK could `rails c` and fix this up, since “turning it off and back on again” failed to solve it?

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [September 5, 2024, 9:49pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/302 "2024-09-05T21:49:14Z")

</div>

@JammyDodger - you don’t think that this might be due to some of the settings that were changed with our testing last week?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [September 5, 2024, 10:10pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/303 "2024-09-05T22:10:29Z")

</div>

Hmm. I don’t _think_ so. But I have trashed a few settings by accident more than once so it’s probably worth a check… 🙂

* * *

Everything seems to be in order for #Contribute > Feature, from what I can see. 🤷 I’ll have a look with fresh eyes in the morning and see if I’ve overlooked anything.

I’m reasonably confident that our work with the #pavilion federation didn’t touch any existing setup.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [September 5, 2024, 10:27pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/304 "2024-09-05T22:27:55Z")

</div>

This isn’t recent in any case. It was late July when I unfollowed and refollowed the first time.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [September 6, 2024, 9:32pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/305 "2024-09-06T21:32:25Z")

</div>

I followed from `@mcdanlj@mastodon.cloud` and do see `@feature@meta.discourse.org` content in my timeline there, but the same post is not visible in my `@mcdanlj@social.makerforums.info` timeline. Hopefully the difference between those two follows can make it clear what the problem is?

---

<div class="post-metadata">

### Author: ![JonahAragon1](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@JonahAragon1](https://meta.discourse.org/u/JonahAragon1)
#### Post date: [September 8, 2024, 5:29pm UTC](https://meta.discourse.org/t/activitypub-plugin/266794/306 "2024-09-08T17:29:22Z")

</div>

> [@angus](#):
>
> - You don’t follow individual users in discourse activitypub.

Why is this the case, out of curiosity?

It feels like it’d make more sense if every Discourse user was an ActivityPub actor, and forum categories were ActivityPub groups that reposted each user’s posts in that category. This is also how Lemmy works, I believe.

Right now if I follow a category on Mastodon there’s no indicator of who posted what, which is pretty undesirable for my community because anyone on the internet can post arbitrary content to an official looking ActivityPub account on our domain.

[Previous page](https://meta.discourse.org/t/activitypub-plugin/266794.md?page=14)

[Next page](https://meta.discourse.org/t/activitypub-plugin/266794.md?page=16)
