pierredavidbelanger / chatter-bot-api

A Mono/.NET, JAVA, Python and PHP chatter bot API that supports Cleverbot, JabberWacky and Pandorabots.
182 stars 72 forks source link

Cleverbot - HTTP/1.1 401 Unauthorized #51

Open Octolus opened 7 years ago

Octolus commented 7 years ago

I keep getting this:

Warning: fopen(http://www.cleverbot.com/webservicemin?uc=777&botapi=chatterbotapi): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized

pierredavidbelanger commented 7 years ago

This is expected,

please see this : https://github.com/pierredavidbelanger/chatter-bot-api/issues/42#issuecomment-279778562

The solution (for Java) is here: https://github.com/pierredavidbelanger/chatter-bot-api/issues/39#issuecomment-279587277