ColinEberhardt / applause-button

A zero-configuration medium-style button for adding applause / claps / kudos to web pages and blog posts
http://applause-button.com/
MIT License
428 stars 41 forks source link

Setting claps count #56

Open rodrigoalcarazdelaosa opened 4 years ago

rodrigoalcarazdelaosa commented 4 years ago

Is there any way to set the claps count of a given page?

Thanks!

rodrigoalcarazdelaosa commented 3 years ago

Can this function be accessed by the API in order to set the number of claps of a given URL?

Thanks!

ColinEberhardt commented 3 years ago

Hi @rodrigoalcarazdelaosa I don't have any plans to allow people to update clap counts to a specific number. Without adding an additional layer of security, this feature would be very much open to abuse, i.e. anyone could update the count for any URL.

I've already had quite a few people try to artificially inflate clap counts by repeatedly sending messages to the API. I use a combination of IP recording and rate limiting to stop this abuse.

rodrigoalcarazdelaosa commented 3 years ago

Hi @rodrigoalcarazdelaosa I don't have any plans to allow people to update clap counts to a specific number. Without adding an additional layer of security, this feature would be very much open to abuse, i.e. anyone could update the count for any URL.

I've already had quite a few people try to artificially inflate clap counts by repeatedly sending messages to the API. I use a combination of IP recording and rate limiting to stop this abuse.

I understand @ColinEberhardt . I recently changed the urls of many of my pages and the clap count was (as expected) reset to zero. I was just wondering if I could recover the old values. Also, I've been exploring the idea of syncing those clap counts with the number of likes of a given tweet (I usually tweet my blog posts and notes and it'd be great if those Twitter likes could be added to the clap count). Thanks again for such a nice product!