Chat Bot API

For discussion of the Chat Bot API and the projects using it. Trade sample code, ask questions, give advice.

Posts 52 - 63 of 177

8 years ago #52
I've fixed this issue. Some debug code was showing up in there. Now the response is fully JSON.

8 years ago #53
Oh hi!! Thank you, will try and let you know

8 years ago #54
Hi The professor,
Still got an error, because I try to call the JSONP, I think you should put a wrapper for the JSON callback (e.g.
JSON_CALLBACK( {"success":1,"errorMessage":"","message":{"chatBotName":"Huge Dragon","chatBotID":"110966","message":"Yes, Annez, I've heard that one before.","emotion":null}} )

Thanks before!!!

8 years ago #55
A bot, Gaybob, no longer wants to talk to me no matter what I say. How could I fix this?

8 years ago #56
how can i use api with javascript.

i am getting allow access origin error.

8 years ago #57
What's a seek? I'm kinda a first- timer trying when it comes to bot building.

8 years ago #58
After a keyphrase you can add a seek for supposed replies with onemor two words like "yes, not, why not " and so you can create also a reply to the seek and with that the conversation follows the topic of the keyphrase. Very useful.

8 years ago #59
Thanks!

8 years ago #60
what is the brand of Simply Sarah's tampon?

8 years ago #61
I include my apiKey, but still get the error message:
{"success","errorType":"Missing apiKey","errorMessage":"Your apiKey must be passed in the url"}

8 years ago #62
Would someone please post html code that will put a chatbot onto a webpage using API? Thanks.

8 years ago #63
I'm getting an error saying a hash param is required but I'm trying to use the "simple" API. They look like they both hit the same endpoint. How does the service intuit whether is "simple" or "secure"? I copied my request right from docs and poked it in using curl.

curl http://www.personalityforge.com/api/chat/?apiKey=[alphanumstuff]&chatBotID=23958&message=hi&externalID=MrFixit&firstName=MrFixit



Posts 52 - 63 of 177

» More new posts: Doghead's Cosmic Bar