# Federated microblogging with ActivityPub API (NC12)?

**URL:** <https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509>\
**Category:** 🏷️ General\
**Tags:** nc12, app-ideas\
**Created:** [September 26, 2017, 3:55am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509 "2017-09-26T03:55:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 26, 2017, 3:55am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/1 "2017-09-26T03:55:29Z")

</div>

Since Nextcloud 12 has implemented the new ActivityPub ( [https://activitypub.rocks/](https://activitypub.rocks/) ) standard for federated activity streams: Are there plans to implement a Mastodon ([https://joinmastodon.org/](https://joinmastodon.org/) ) compatible public facing microblogging app?

It could probably be derived from the activity app, but with settings what kind of activities to display publicly (and federate them) and for adding personal twitter like messages.

This is interesting because many federated microblogging services (not only Mastodon) are also implementing support for ActivityPub and thus Nextcloud could join this new chapter of the fediverse.

See also:

> **[Mastodon and the W3C | HackerNoon](https://hackernoon.com/mastodon-and-the-w3c-f75f376f422)**
>
> Mastodon is a free, open-source federated social network spanning over 800,000 users spread across more than 2,000 servers.

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [September 26, 2017, 7:20am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/2 "2017-09-26T07:20:30Z")

</div>

wanna take a look here ([https://apps.nextcloud.com/apps/cms\_pico](https://apps.nextcloud.com/apps/cms_pico)) and see what and if that gets you further with your problem/idea?

---

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 26, 2017, 7:32am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/3 "2017-09-26T07:32:16Z")

</div>

No, that is something completely different (but also nice, I have been using it for a few days now).

---

<div class="post-metadata">

**Author:** ![JimmyKater](https://help.nextcloud.com/user_avatar/help.nextcloud.com/jimmykater/32/4850_2.png) [@JimmyKater](https://help.nextcloud.com/u/JimmyKater)\
**Post date:** [September 26, 2017, 7:34am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/4 "2017-09-26T07:34:26Z")

</div>

well… was worth a try… bringing it to your attention. 😉

---

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 26, 2017, 7:53am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/5 "2017-09-26T07:53:35Z")

</div>

Maybe I need to explain better:  
Nextcloud could have an app allowing it users to have functionality similar to twitter and share calendar events, files, photos etc. easily on their time-line.  
Nextcloud 12 it already includes the ActivityPub standard for activity stream federation, so it seems like this would be just a question of making a GUI and a public facing activity stream for it. Edit: I think the ActivityPub standard allows private and public posts, so maybe this is already part of the Nextcloud implementation somehow?

For the public interface, something could be based on Qvitter easily I imagine, see:  
[https://git.gnu.io/h2p/Qvitter](https://git.gnu.io/h2p/Qvitter) / [https://quitter.se/](https://quitter.se/)

Then any nextcloud user could easily interact with the Mastodon users (follow etc. like twitter).

---

<div class="post-metadata">

**Author:** ![Cult](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cult/32/8547_2.png) [@Cult](https://help.nextcloud.com/u/Cult)\
**Post date:** [September 26, 2017, 8:30am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/6 "2017-09-26T08:30:53Z")

</div>

You should have a look to [Circles](https://apps.nextcloud.com/apps/circles) and [mood](https://apps.nextcloud.com/apps/mood)

---

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 26, 2017, 8:34am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/7 "2017-09-26T08:34:05Z")

</div>

Ahh, of course. But do they federate outside of Nextcloud via the activity pub standard?

Edit: the “Allow Federated Links: Turns the circle as Federated and enable sharing between Federated Circles” in the circles app is greyed out for me. Is it just there as a placeholder for future development? Or do I need to configure something in addition?

---

<div class="post-metadata">

**Author:** ![Cult](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cult/32/8547_2.png) [@Cult](https://help.nextcloud.com/u/Cult)\
**Post date:** [September 26, 2017, 8:42am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/8 "2017-09-26T08:42:20Z")

</div>

No, the ‘federate’ communication is only between circles (local or remote nextcloud).

You will need to enable the option in the Admin Settings Page.

---

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 26, 2017, 9:47am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/9 "2017-09-26T09:47:32Z")

</div>

Ok, so it seems (as it federates) this all already builds on top of the ActivityPub API, just that it doesn’t allow reaching out to other Activity Pub services? (maybe possible, just not documented?)  
What about mobile apps? Can I post moods via an Android activitypub client (=Mastodon client app)?

So all that would be needed is a public twitter like activity feed and public profile for each Nextcloud user, and some more obvious way to link to other federated systems?

---

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 26, 2017, 11:54am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/10 "2017-09-26T11:54:19Z")

</div>

Found a JS/php webclient for Mastodon:

> **[halcyon-suite/halcyon](https://github.com/halcyon-suite/halcyon)**
>
> halcyon - Another web interface of Mastodon

  
Not sure if it has made the switch from OStatus yet, but maybe it is somehow possible to to use the ActivityPub implementation of Nextcloud instead in the future?

---

<div class="post-metadata">

**Author:** ![tcit](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tcit/32/5931_2.png) [@tcit](https://help.nextcloud.com/u/tcit)\
**Post date:** [September 26, 2017, 12:08pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/11 "2017-09-26T12:08:32Z")

</div>

There’s a lot of misunderstanding here :

> What about mobile apps? Can I post moods via an Android activitypub client (=Mastodon client app)?

The Mastodon client apps don’t use ActivityPub but the Mastodon API. Mastodon does not and doesn’t intend to implement the Client To Server part of Activity Pub.

> Not sure if it has made the switch from OStatus yet, but maybe it is somehow possible to to use the ActivityPub implementation of Nextcloud instead in the future?

This client only communicates with Mastodon, it has no oStatus or ActivityPub implementation.

As far as I know Nextcloud itself has no desire to communicate through ActivityPub about other stuff than Filesharing actions & such. Through the Mood app this may be implemented though.

---

<div class="post-metadata">

**Author:** ![Cult](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cult/32/8547_2.png) [@Cult](https://help.nextcloud.com/u/Cult)\
**Post date:** [September 27, 2017, 10:11am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/12 "2017-09-27T10:11:01Z")

</div>

The Mood app just use the Circles’ API

---

<div class="post-metadata">

**Author:** ![Krischan](https://help.nextcloud.com/letter_avatar/krischan/32/6_22734026db12803ebb3e059622ac3534.png) [@Krischan](https://help.nextcloud.com/u/Krischan)\
**Post date:** [September 27, 2017, 12:54pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/13 "2017-09-27T12:54:25Z")

</div>

Hmm, ok, thanks for the clarifying replies.

Seems like a bit more work is involved, but can anyone confirm that circles is using the ActivityPub protocol for federation?

---

<div class="post-metadata">

**Author:** ![Cult](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cult/32/8547_2.png) [@Cult](https://help.nextcloud.com/u/Cult)\
**Post date:** [September 27, 2017, 1:19pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/14 "2017-09-27T13:19:19Z")

</div>

As the author of Circles, I can confirm that Circles is using its own communicating protocol 🙂

_As a side note: it was decided like this after some discussions about using or not ActivityPub._

---

<div class="post-metadata">

**Author:** ![Spartachetto](https://help.nextcloud.com/letter_avatar/spartachetto/32/6_22734026db12803ebb3e059622ac3534.png) [@Spartachetto](https://help.nextcloud.com/u/Spartachetto)\
**Post date:** [October 5, 2017, 9:59pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/15 "2017-10-05T21:59:02Z")

</div>

> [@tcit](#):
>
> As far as I know Nextcloud itself has no desire to communicate through ActivityPub about other stuff than Filesharing actions & such. Through the Mood app this may be implemented though.

So the only possibility up to now would be that a Nextcloud **server** communicates to e.g. a Mastodon **server** via ActivityPub about Filesharing actions & such.

One could chose to tweet (_toot_…) automatically about Filesharing actions, did i get it right?

Maybe it could be interesting for some user cases, also considering that you can manage your Mastodon server (or any other software that uses or will use ActivityPub )

---

<div class="post-metadata">

**Author:** ![tcit](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tcit/32/5931_2.png) [@tcit](https://help.nextcloud.com/u/tcit)\
**Post date:** [October 6, 2017, 7:20am UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/16 "2017-10-06T07:20:21Z")

</div>

There’s a lot to implement for the two to be compatible… for instance there’s no mecanism of « following people » in Nextcloud yet. Only the basic bricks are here, I don’t see the use for this two completely different systems to interact other that through a gateway such as Hubzilla.

---

<div class="post-metadata">

**Author:** ![Spartachetto](https://help.nextcloud.com/letter_avatar/spartachetto/32/6_22734026db12803ebb3e059622ac3534.png) [@Spartachetto](https://help.nextcloud.com/u/Spartachetto)\
**Post date:** [December 19, 2017, 5:43pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/17 "2017-12-19T17:43:45Z")

</div>

I did not manage to make my point.

Take as an example [Nextcloud Releases](https://twitter.com/nextcloudupdate), the twitter account that provide automatic posting of new releases from: - Nextcloud server - Android app - iOS app - Nextcloud apps from the app store.

Basically to provide such a service you do not need to follow anyone, you just want a “bot” to tweet automatically in case of new releases.

People can follow that account, yet that account will not follow anyone.

---

<div class="post-metadata">

**Author:** ![clacke](https://help.nextcloud.com/user_avatar/help.nextcloud.com/clacke/32/9677_2.png) [@clacke](https://help.nextcloud.com/u/clacke)\
**Post date:** [June 15, 2018, 12:25pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/19 "2018-06-15T12:25:32Z")

</div>

Implementing ActivityPub support in GNU Social is not trivial, but an attempt will be made under this year’s GSoC:

> **[Files · dev · dansup / ActivityPub](https://git.gnu.io/dansup/ActivityPub/tree/dev)**
>
> ActivityPub Plugin for GNU Social Accompanying doc available at: https://git.gnu.io/diogo/GS-ActivityPub-plugin-doc

Qvitter is just a frontend to GNU Social.

---

<div class="post-metadata">

**Author:** ![clacke](https://help.nextcloud.com/user_avatar/help.nextcloud.com/clacke/32/9677_2.png) [@clacke](https://help.nextcloud.com/u/clacke)\
**Post date:** [June 15, 2018, 12:28pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/20 "2018-06-15T12:28:06Z")

</div>

Partial ActivityPub support, basically a glorified RSS feed, is definitely worthwhile considering.

---

<div class="post-metadata">

**Author:** ![Spartachetto](https://help.nextcloud.com/letter_avatar/spartachetto/32/6_22734026db12803ebb3e059622ac3534.png) [@Spartachetto](https://help.nextcloud.com/u/Spartachetto)\
**Post date:** [July 11, 2018, 1:26pm UTC](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509/21 "2018-07-11T13:26:41Z")

</div>

> [@clacke](#):
>
> glorified RSS feed

Perfect definition of what I was thinking about! 😁

@clacke Do you know if that _glorified RSS feed_ could also include files? I think so but I am not 100% sure. That would add to the possibilities of the tool…

[Next page](https://help.nextcloud.com/t/federated-microblogging-with-activitypub-api-nc12/21509.md?page=2)
