benmanns / cleverbot

Deprecated/unmaintained. See https://www.cleverbot.com/api/
https://github.com/benmanns/cleverbot
MIT License
22 stars 19 forks source link

Change hash substring to be 26 characters instead of 20. #2

Closed EvanDotPro closed 11 years ago

EvanDotPro commented 11 years ago

Cleverbot released an update that requires the first 26 characters after stimulus= in the post body to be hashed for the incognocheck parameter. Previously it only required the first 20. Since the update, if you only hash 20 characters, you end up getting 'DENIED' back for the session ID.

EvanDotPro commented 11 years ago

I'll update the tests, too.

benmanns commented 11 years ago

Looks great, thanks!