Comments (28)
You are right,
even in the browser, http://www.cleverbot.com/webservicemin is giving me a 404.
Either CleverBot is down momentarily, or they changed their WebService so we can no longer use it.
from chatter-bot-api.
http://www.cleverbot.com/webservicemin is giving me DENIED +3000_cbfull atm hmm...
from chatter-bot-api.
Looks like Jabberwacky is also returning 404 via http://www.existor.com/webservicemin
from chatter-bot-api.
That ends my confusion, at least. I stumbled across this project earlier today, and had started work on integrating it into a game, but couldn't understand why I wasn't getting any bot responses. I'll keep coming back for updates, but I hope this is only a temporary state of affairs.
from chatter-bot-api.
I will take a look at this problem today.
from chatter-bot-api.
Any update on this? Is this api done?
from chatter-bot-api.
Yeah, their web service was changed.
I will need to reverse engineer the flow once again.
This will take some time.
from chatter-bot-api.
When you visit the cleverbot.com website and after that http://www.cleverbot.com/webservicemin isn't returning 404 anymore. But "DENIED +3000_cbfull" not sure whats this about...
Any Idea?
from chatter-bot-api.
When is this going to be fixed? :(
from chatter-bot-api.
@pierredavidbelanger You might want to look into this. I have a bot that uses Hangouts, and I was using a cleverbot api for it. One of my forks came up with a fix for the api I was uses; they saved the cookies and it worked. Check out this commit here:
wardellbagby/HangoutsBot@42d9001
from chatter-bot-api.
@wardellchandler
Nice, I will try this as soon as I find a couple minutes.
from chatter-bot-api.
It worked! Awesome :)
from chatter-bot-api.
Pull request. Maybe not beautiful but works :) #10
from chatter-bot-api.
Any word on a Java solution?
from chatter-bot-api.
I have a working fix for the Java version.
I will push it (in Github and Maven Central) this evening (around 20h, this is in about 3 or 4 hours).
from chatter-bot-api.
Thanks very much for the updates, really appreciate it. My PHP experience is really limited so I don't know how relevant this is, but I made one small change to the updated chatterbotapi.php on line 164 because I was getting a script warning about "split" being deprecated, so I just swapped this for "explode".
from chatter-bot-api.
Its deployed on maven. It should be visible anytime soon.
from chatter-bot-api.
Jabberwacky comes back as an empty string every time in Java it seems
from chatter-bot-api.
Any information on the python side of things being updated?
from chatter-bot-api.
I am sorry guys, I did not had the time to really fix every port of the library.
I can not give you an ETA either.
Feel free to contribute :)
The fix is really simple:
-
The Session object now have a new variable to hold the cookies
https://github.com/pierredavidbelanger/chatter-bot-api/blob/master/java/src/main/java/com/google/code/chatterbotapi/Cleverbot.java#L40 -
When a new Session is created, the variable is initialized
https://github.com/pierredavidbelanger/chatter-bot-api/blob/master/java/src/main/java/com/google/code/chatterbotapi/Cleverbot.java#L50 -
And a GET is issued to Cleverbot the get all the cookies:
https://github.com/pierredavidbelanger/chatter-bot-api/blob/master/java/src/main/java/com/google/code/chatterbotapi/Cleverbot.java#L52 -
The request method in the Utils class, now take care of reading the cookie from the response:
https://github.com/pierredavidbelanger/chatter-bot-api/blob/master/java/src/main/java/com/google/code/chatterbotapi/Utils.java#L81 -
Then, when the think method is called, we issue a request using the Session cookies:
https://github.com/pierredavidbelanger/chatter-bot-api/blob/master/java/src/main/java/com/google/code/chatterbotapi/Cleverbot.java#L66 -
The request method in the Utils class also take care of sending cookies:
https://github.com/pierredavidbelanger/chatter-bot-api/blob/master/java/src/main/java/com/google/code/chatterbotapi/Utils.java#L63
from chatter-bot-api.
EDIT: obviously I should have waited a bit longer to confirm this (sorry for the email alerts). Apparently it was a temporary problem and things are working again now. But I'll probably deactivate it (on our game server) for the time-being all the same.
--- older message ---
Seems something has changed again? Or else I'm experiencing localised troubles. But as of an hour ago or so, I was initially getting just ads for something called "Clevertweet" and then blank responses.
I think I'll bow out now though. I just wanted to add botchat as a feature for visitors to our game server during slow periods, but it's not something we can't live without. Thanks for the project
from chatter-bot-api.
The simple PHP version is also fixed.
from chatter-bot-api.
Also fixed in the python version.
from chatter-bot-api.
Jabberwacky still looks like it's returning an empty String in the Java version, regardless of what is inputted
from chatter-bot-api.
Also fixed in the .NET version thanks to @KSemenenko 's nice Pull Request.
He bump the .NET requirement from 2.0 to 4.5 though.
I hope everyone using the .NET version is ok with this.
from chatter-bot-api.
Java is still not working
from chatter-bot-api.
@iObsidian I just tried the example code with the latest maven version and it worked.
Ensure you are using the latest version, and If it still does not work for you, please open a new issue with a description of what you are doing, what you expect, what you see instead and ideally a stack trace if you have one.
from chatter-bot-api.
Hey Pierre, thanks for answering! Pandora bots works while clever bot doesn't. Thanks for your time :)
from chatter-bot-api.
Related Issues (20)
- always has a b' or a b" HOT 5
- Getting 404 error from API HOT 8
- Cleverbot down HOT 2
- Pandora bot down HOT 1
- not support chinese question? HOT 1
- Default constructor cannot handle exception type Exception thrown by implicit super constructor. Must define an explicit constructor HOT 4
- Networking on main thread - Android issue HOT 6
- Cleverbot Webservice Link 404's HOT 13
- Cannot connect to the webserver of cleverbot HOT 11
- Change language of reply. HOT 3
- webservice error? HOT 8
- UC variable changed again HOT 5
- Hang on startup HOT 4
- CleverBot is not longer working
- org.xml.sax.SAXParseException; Premature end of file. HOT 3
- Any update on this? HOT 4
- The element type "hr" error -- JAVA HOT 3
- Java version wont work anymore HOT 1
- Issue running chatterbotapitest.py
- Cleverbot - HTTP/1.1 401 Unauthorized HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatter-bot-api.