-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Cédric Belin edited this page Jun 24, 2022
·
5 revisions
Used by millions of websites, Akismet filters out hundreds of millions of spam comments from the Web every day. Add Akismet to your Haxe applications so you don't have to worry about spam again.
The Akismet service requires an API key. If you are not already registered, sign up for an Akismet account.
Install the latest version of Akismet for JS with npm package manager:
npm install @cedx/akismet
For detailed instructions, see the installation guide.
There are three different types of calls to Akismet:
- Key verification will verify whether or not a valid API key is being used. This is especially useful if you will have multiple users with their own Akismet subscriptions using your application.
- Comment check is used to ask Akismet whether or not a given post, comment, profile, etc. is spam.
- Submit spam and submit ham are follow-ups to let Akismet know when it got something wrong (missed spam and false positives). These are very important, and you shouldn't develop using the Akismet API without a facility to include reporting missed spam and false positives.
Before integrating this library into your application, you should test your API calls to ensure a proper usage.