Automattic / wordpress-activitypub

ActivityPub for WordPress
https://wordpress.org/plugins/activitypub/
MIT License
489 stars 73 forks source link

Feature Request: Like and Dislike Interactions (Comments) #929

Open maltfield opened 1 week ago

maltfield commented 1 week ago

What

This ticket is a request to add the ability for users on the fediverse to be able to engage with interactions made by other users on the fediverse to the wordpress post: to like and dislike those posts

Why

The goal would be to allow for visitors to my wordpress blog to be able to upvote and downvote ActivityPub Posts made about my blog post, wihch appear as threaded comments below my blog post. This would allow for a typical UX like that of digg, reddit, lemmy, etc.

How

Example

Let's consider an example. Earlier this year, I posted an article about Lemmy on my wordpress blog:

This article received a lot of dialog across the fediverse. Here's one post about it on one of the most popular lemmy instances, which has 267 comments (at the time of writing). In this example, I truncated it to only 9 comments for brevity.

What I want is for each of these comments (which are ActivityPub Notes) to appear in the "Comments" section below my blog, and for my blog visitors to be able to upvote and downvote the comments directly on my site using their own federated account.

screenshot of a wordpress article with no comments screenshot of a lemmy post with a lot of nested comments screenshot of a wordpress article with a lot of nested comments after the article
1. My Blog Post (without ActivityPub comments) 2. Comments on Lemmy 3. My Blog Post (with ActivityPub comments)

The screenshots above show:

  1. (Left) The article on my wordpress blog with no comments
  2. (Middle) A post on lemmy that links to my wordpress blog. There are a lot of nested lemmy comments. Each comment has an upvote and downvote button.
  3. (Right) The same article on my wordpress blog as [1], but this time the ActivityPub comments in [2] are shown on my wordpress blog, just below the article. Every comment has an upvote and downvote button, so readers of my blog can like or dislike each federated ActivityPub Note directly. There is also set of filter buttons at the top, where users can sort the order that the comments appear.
maltfield commented 1 week ago

See also the related discussion on the wordpress.org support forums