Comments (17)
Seems like they changed the CleverBot code again.
Thanks for the python stack @KahnShi .
Thank for the hint @Enaero .
@lesmo I think this is just a demo page for their commercial integration.
Also, as @BlueFreakLP pointed out, this project should not be used for serious / production things. Indeed, my CleverBot integration is a kind of unofficial (and unapproved to some extent) reverse engineered hack to call their web site, as they do not have a proper free API.
Anyways, I will have a look at this soon.
Thank you for your patience.
from chatter-bot-api.
Same story with the .NET version.
from chatter-bot-api.
Ok, it seems to be fixed now.
But this really smells like it will break again soon.
In the PHP port, I fixed only the chatterbotapi.php.
The fixed Python port is here.
The fixed .NET/Mono port is also fixed. But, please, note that I only tried it on:
$ mono --version
Mono JIT compiler version 4.0.5 ((detached/1d8d582 Tue Oct 20 15:15:33 EDT 2015)
$ uname -v
Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64
For the Java port, I made a SNAPSHOT release, so, for Maven users, use the sonatype
repository:
<repositories>
<repository>
<id>oss.sonatype.org</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
from chatter-bot-api.
And I tried 3 different PC, so seems not the problem of my IP address.
from chatter-bot-api.
Hi,
im actually getting an 404 error too. I think they changed their API again.
Btw: I am using the java implemention.
(I have tried it from my Server and home connection, same result, so it cannot be an ip ban)
from chatter-bot-api.
Failed for me as well, but pandorabots still works. Using java, JabberWacky give me this
if(ob== null||cc==0) return true;if(cc==13||cc==3){uniEsc1();ob.form.submit()};return true;}
and clever bot gives nothing
from chatter-bot-api.
I can confirm this happens too on PHP version.
from chatter-bot-api.
Happening to me too using Java version. Most likely cleverbot api changed, the service call looks like this now:
http://www.cleverbot.com/webservicemin?out=&in=Hi.&bot=c&cbsid=WXJ29F75UF&xai=WXJ&ns=1&al=&dl=&flag=&user=&mode=1&
-The thing that's breaking is this: cbsid=WXJ29F75UF
It is missing from this lib, and when you take it out of the url it sends back 404.
EDIT: Actually looking at the request more closely it still seems to follow the format that the code uses. Maybe it's something with the headers/cookie?
from chatter-bot-api.
I'm quite confident it has something to do with the cookies. I've copied the URI Cleverbot uses to get responses, and the same story happens.
I've found this link, though. I'm working on figuring out how to use it, perhaps it can be adapted into the current code:
http://www.cleverscript.com/demos/clever-data-demo
It uses a different communication strategy. It returns JSONP.
from chatter-bot-api.
What about https://cleverbot.io/ ? It seems like a good replacement and was built for handling external requests. Although I'm not sure how good it is at holding a conversation, the "Try it now" experience for me was pretty much just it saying random phrases back at me.
from chatter-bot-api.
As far as I know the APP for Android was always reverse engineered and then
we built the API here.
from chatter-bot-api.
API changed. Got bad request from Cleverbot.
from chatter-bot-api.
@Enaero I checked that, but cleverbot.io, just as you said, isn't as good. Also, it doesn't support other languages like Cleverbot does (which is kind of important for me).
@BlueFreakLP I didn't know that... to me it looked like it was reversed engineered from the web version.
from chatter-bot-api.
CleverBot has just a big database with answers. Someone need to take time and fix it, this will take here some days or more.
I just cant recommed to use the project for serious things, cause cleverbot is changing the API too often
from chatter-bot-api.
Same problem, I am getting HTTP response code: 400 when I try to use the api.
from chatter-bot-api.
Still works with PandoraBox
from chatter-bot-api.
Using PHP, the session is not preserved. Normally the session id comes in header as CBCONVID parameter and then it is set as a cookie (CBSID).
It seems there are other cookie parameters set by JS to make the session work.
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.