applause-button-server icon indicating copy to clipboard operation
applause-button-server copied to clipboard

Multiple applause must happen in first round of clapping

Open woahdae opened this issue 4 years ago • 1 comments

I see that for multiple claps to be accepted, they must happen all on the first round of clapping by an IP.

Is this by design? The JS client batches multiple claps, with a payload something like this:

curl -d '"5,3.3.0"' --referer "http://www.example.com/example" https://api.applause-button.com/update-claps
5%

If you run the command again from the same IP, you will get 5 back every time.

I think many users will probably give you all the claps in one go, but ex. this person describes a process where they doll out claps in real time as they read the article.

In any case thanks for the great widget!

woahdae avatar Nov 19 '19 23:11 woahdae

By the way, I do see in the code where it limits by IP, so it's functioning correctly in that sense. I mean is this use case by design, or an accident from implementing IP restriction for multipleclaps="false"

woahdae avatar Nov 19 '19 23:11 woahdae