GithubHelp home page GithubHelp logo

Comments (17)

pierredavidbelanger avatar pierredavidbelanger commented on July 18, 2024 4

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.

pedroslopez avatar pedroslopez commented on July 18, 2024 1

Same story with the .NET version.

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 18, 2024 1

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.

fanshi14 avatar fanshi14 commented on July 18, 2024

And I tried 3 different PC, so seems not the problem of my IP address.

from chatter-bot-api.

 avatar commented on July 18, 2024

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.

teamupwithteamup avatar teamupwithteamup commented on July 18, 2024

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.

lesmo avatar lesmo commented on July 18, 2024

I can confirm this happens too on PHP version.

from chatter-bot-api.

Enaero avatar Enaero commented on July 18, 2024

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.

lesmo avatar lesmo commented on July 18, 2024

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.

Enaero avatar Enaero commented on July 18, 2024

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.

 avatar commented on July 18, 2024

As far as I know the APP for Android was always reverse engineered and then
we built the API here.

from chatter-bot-api.

ijat avatar ijat commented on July 18, 2024

API changed. Got bad request from Cleverbot.

from chatter-bot-api.

lesmo avatar lesmo commented on July 18, 2024

@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.

 avatar commented on July 18, 2024

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.

m10653 avatar m10653 commented on July 18, 2024

Same problem, I am getting HTTP response code: 400 when I try to use the api.

from chatter-bot-api.

kodyvoyles avatar kodyvoyles commented on July 18, 2024

Still works with PandoraBox

from chatter-bot-api.

latifoz avatar latifoz commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.