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
426 stars 41 forks source link

It's not allowing with same wifi more then 1 time #97

Open Naren-hybreeder opened 1 year ago

Naren-hybreeder commented 1 year ago

Hi Below is the code I am using on my website. In my office, all the systems are connected to WiFi. Now, my issue is that only one system is allowing us to appreciate it and get count 1. If the Other system tries to click on it, it still shows 1 count.

Till lunchtime, more than 15 users clicked on the applause button with different systems and the same wifi but still showed a count of 1. Then I tested with mobile and it's showing count 2. it means it's not allowing with the same wifi more than 1 time.

Is anyone getting this issue?


<!DOCTYPE html>
<html>
<head>
  <!-- add the button style & script -->
  <link rel="stylesheet" href="https://unpkg.com/applause-button/dist/applause-button.css" />
</head>
<body>
<div style="margin-top: 100px"><applause-button style="width: 58px; height: 58px;"/></div>
  <!-- add the button! -->
  <script type="text/javascript" src="https://unpkg.com/applause-button/dist/applause-button.js"></script>
</body>  
</html>
ColinEberhardt commented 1 year ago

Hi, the applause button prohibits multiple claps for the same IP address. This was put in place to stop someone repeatedly clicking the button and over-inflating the clap count.

It sounds like your network results in everyone having the same external IP.

Naren-hybreeder commented 1 year ago

@ColinEberhardt Thank you for your response....

I have to add an applause button in my post and that post I have to share with internally. I have more than 500 employees in my office.

All the systems are connected with the same wifi (I believe) they are sure they have the same IP.

Any idea how to solve this?

chriswilty commented 1 month ago

@Naren-hybreeder The way to solve it would be to host your own applause-button-server within your company. This is currently a free service, so we need to put some sensible limits and prootections in place.