[spam-stopper] Re: triggering a "false" response from api for testing purposes?
Jim Dalton
jim.dalton at furrybrains.com
Sun Dec 16 14:54:55 UTC 2007
>> the problem i'm having at the moment is that i can get nothing but a
>> "true" response from the api...and since that's all i can get i'm
>> having
>> a hard time testing.
>
> This is odd, usually by sending just normal info you get false, maybe
> your API call is missing a variable?
>
Thanks for taking the time to reply Matt.
I actually did resolve the issue after I posted it, and you are
actually correct -- it was returning "true" until I started passing
comment_author and comment_email, at which point I was able to get a
"false" return. (I didn't realize these were required -- that might
be something worth noting in the API documentation in a future
revision.)
As I mentioned in my last email, I'm attempting to use akismet to
filter spam in the context of a certain kind of reminder message. The
challenge is that the application I'm developing does not require or
even ask for a name or email from the sender.
This makes me wonder then, will my application really be able to use
Akismet effectively without comment_author and comment_email (for now
I am just passing the same dummy name/email for every request, for
testing purposes)? Or is there a good name/email to use if one
doesn't exist (but a value nevertheless must be passed)?
Well if anyone has any insights to share, I would appreciate it.
More information about the spam-stopper
mailing list