I implemented an anti-spam API on Uglek to protect against spam...

intersexs profile photo

I implemented an anti-spam API on Uglek to protect against spam posts. The API I am using, OopSpam, gives posts a score based on IP address and content. I use this score to determine which posts to accept on the website and which posts to hide for further reference. When posts are flagged as spam, they are no longer public and must be made public again or deleted by the administrator. Though the captcha has mostly been effective at preventing spam so far, I think it was a good idea to implement another solution. They also give me 40 free API calls (spam checks) per month, so that should be plenty as I'm not seeing that much posting yet. I've also done some reorganization of the buttons in the sidebar and added some links to the site for groups and games. I added in the code for groups I wrote, which seems to be working properly. Below: A screenshot of the code that checks user IP and flags posts as spam (API key hidden)


Pinterest logo

https://uglek.com/post/196/ -


© Uglek, 2021

Terms of Use and Privacy Policy