GithubHelp home page GithubHelp logo

Comments (28)

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

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.

PhoenixICE avatar PhoenixICE commented on July 1, 2024

http://www.cleverbot.com/webservicemin is giving me DENIED +3000_cbfull atm hmm...

from chatter-bot-api.

robomaeyhem avatar robomaeyhem commented on July 1, 2024

Looks like Jabberwacky is also returning 404 via http://www.existor.com/webservicemin

from chatter-bot-api.

sbwMikael avatar sbwMikael commented on July 1, 2024

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.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

I will take a look at this problem today.

from chatter-bot-api.

 avatar commented on July 1, 2024

Any update on this? Is this api done?

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

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.

 avatar commented on July 1, 2024

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.

 avatar commented on July 1, 2024

When is this going to be fixed? :(

from chatter-bot-api.

wardellbagby avatar wardellbagby commented on July 1, 2024

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

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

@wardellchandler
Nice, I will try this as soon as I find a couple minutes.

from chatter-bot-api.

 avatar commented on July 1, 2024

It worked! Awesome :)

from chatter-bot-api.

 avatar commented on July 1, 2024

Pull request. Maybe not beautiful but works :) #10

from chatter-bot-api.

robomaeyhem avatar robomaeyhem commented on July 1, 2024

Any word on a Java solution?

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

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.

sbwMikael avatar sbwMikael commented on July 1, 2024

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.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

Its deployed on maven. It should be visible anytime soon.

from chatter-bot-api.

robomaeyhem avatar robomaeyhem commented on July 1, 2024

Jabberwacky comes back as an empty string every time in Java it seems

from chatter-bot-api.

remiscarlet avatar remiscarlet commented on July 1, 2024

Any information on the python side of things being updated?

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

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:

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

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

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

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

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

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

sbwMikael avatar sbwMikael commented on July 1, 2024

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.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

The simple PHP version is also fixed.

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

Also fixed in the python version.

from chatter-bot-api.

robomaeyhem avatar robomaeyhem commented on July 1, 2024

Jabberwacky still looks like it's returning an empty String in the Java version, regardless of what is inputted

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

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.

AldeRoberge avatar AldeRoberge commented on July 1, 2024

Java is still not working

from chatter-bot-api.

pierredavidbelanger avatar pierredavidbelanger commented on July 1, 2024

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

AldeRoberge avatar AldeRoberge commented on July 1, 2024

Hey Pierre, thanks for answering! Pandora bots works while clever bot doesn't. Thanks for your time :)

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.