Mastodon

Mastodon Poll in ActivityPub

Published on

Mastodon Poll in ActivityPub

I started running my own ActivityPub instance with Takahē.

I got interested in contributing to the project and one of my first implemented features was the poll support.

While implementing it I noticed that the informations about this topic were scattered throughout multiple places.

So, for me to remember how it works, and maybe to help someone looking for the same information I decided to write this article.

Poll or Question? How ActivityPub handles it?

The first thing we need to know is that ActivityPub does not support Poll as a native type in it’s protocol definition.