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

Closed
jaschaurbach opened this issue Dec 28, 2022 · 14 comments · Fixed by #1070
Closed

Show likes from fediverse #235

jaschaurbach opened this issue Dec 28, 2022 · 14 comments · Fixed by #1070

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

@maltfield
Copy link

@janboddez have you also seen #929?

If you're already implementing a PR for this for "Like", would you also consider implementing "DisLike"?

@pfefferle
Copy link
Member

@maltfield this is "only" for posts for now, it is not possible to up/down vote comments yet.

I would love to have a more generic approach that it will be possible to implement new activities with simple hooks and filters.

@obenland obenland linked a pull request Dec 16, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants