+ 9
I want to add a like button in my blog I did coding for it but how can I count likes of every person?
one person likes only one time without any account is this possible? if possible then how please mention all your words here sorry to take your golden time. sharing is caring.
3 ответов
+ 8
how can do that 1st mehod Niush sitaula ?
+ 4
It can be done but not full proof and secure. You can use different techniques like:
1. LocalStorage in Browsers to save like status. (security low)
2.Cookies to Store and verify from server (security medium)
3. Use the users IP address and record and check if already liked (security medium)
4. Use all 1,2 and 3 (security medium still)
5. Use login and verification (security high)
+ 2
No without any account no person can like, so first made register all the account in the database and assign an unique id to that accounts whenever an account likes it will goes in the like table and counter is increased by 1 and so on