Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show likes from fediverse #235

Open
jaschaurbach opened this issue Dec 28, 2022 · 12 comments
Open

Show likes from fediverse #235

jaschaurbach opened this issue Dec 28, 2022 · 12 comments
Labels
[Type] Enhancement New feature or request

Comments

@jaschaurbach
Copy link

I have the webmention plugin installed and it shows the Likes to toots I made from my day-to-day account where I have a link to a blogpost inside.

Likes made to the post of the blog are shown nowhere (which is a pitty). It would be great if the plugin could store likes received on the post the same way as the webmentions plugin which would display them as well as the likes.

@pfefferle pfefferle added the [Type] Enhancement New feature or request label Feb 3, 2023
@bekopharm
Copy link

Same for shares 👍

@lapineige
Copy link

I would say it's every more interesting to know how many times (and by who) a content was shared :)

@github-actions
Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Sep 30, 2023
@bekopharm
Copy link

!keep

@gaviscapes
Copy link

Is there any progress on this? Very interested in this feature.

Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label May 20, 2024
@pfefferle
Copy link
Member

Keep

@github-actions github-actions bot removed the Stale label May 21, 2024
@rghedin
Copy link

rghedin commented Jun 14, 2024

What about build upon an existing plugin? Recently I implemented Just Likes and Dislikes in my blog. It's kinda ok (there's room for improvements), and it would be awesome if it were integrated with ActivityPub.

@janboddez
Copy link
Contributor

On my own site, I just added like and "repost" ("Announce") support by means a couple custom activitypub_inbox_{$type}" callbacks.

Also added an undo callback, so that undoing the like/repost removes the "comment."

Since it's all implemented as action hooks, it would be very easy to add this to the ActivityPub plugin itself.

I do set some dummy content (in case I ever disable my site's "facepile" solution) and a couple comment meta fields allowing likes and reposts to be picked up by said "facepile" block. Maybe there's a better way (like "comment types," the way the Webmention plugin does it).

I think that's the main "challenge": deciding on a meta field "structure." It would be easy enough to update my block to extend compatibility to whichever solution ends up being implemented, so I don't really have a strong preference.

If there's any interest, I wouldn't mind opening a PR.

Also considering a (dynamic) Gutenberg block that would simply display a like and repost (filterable, preferably, so it can be made compatible with, e.g., webmentions) counter.

@pfefferle
Copy link
Member

pfefferle commented Jul 10, 2024

I would love to see a PR for that!!!

I also like the idea of having a Block to show the different Facepiles.

I experimented a lot with different meta-fields on comments and using different comment-types was the best decision so far (still hoping for core support!!!). It makes it relatively easy to filter and query comments based on the type and themes are handling unknown types quite well these days.

@janboddez btw. thanks for all your work/support so far!

@janboddez janboddez mentioned this issue Jul 10, 2024
1 task
Copy link

github-actions bot commented Nov 8, 2024

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Nov 8, 2024
@pfefferle
Copy link
Member

Keep

@pfefferle pfefferle removed the Stale label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants