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

Multiple applause must happen in first round of clapping #20

Open
woahdae opened this issue Nov 19, 2019 · 1 comment
Open

Multiple applause must happen in first round of clapping #20

woahdae opened this issue Nov 19, 2019 · 1 comment

Comments

@woahdae
Copy link

woahdae commented Nov 19, 2019

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
Copy link
Author

woahdae commented Nov 19, 2019

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant