Dołącz do BOT Libre u partnera i partnerski program i wspierać naszą darmową, otwartą platformę
Bot Libre Forum

The Bot Libre chat bot web API

w admin wysłany Jan 5 2014, 7:21

In addition to being able to embed your chat bots on your own website, and access them from any Android device, you can also access your chat bots through the Bot Libre web API. The web API gives you the advantage of having complete control of your bot's client interface.

See Web API

You can use the web API to access your bot from your own website through JavaScript, PHP or any other language. You can also use the web API to create your own mobile application to access your bot, such as an Android or iOS application.

A web API, is a set of HTTP GET/POST URI's that allow sending and receiving of message data. When you browse a website, your browser makes a series of HTTP GET/POST requests to URIs that return HTML content. In a web service the URIs return XML or JSON data, instead of HTML content.

The Bot Libre web API provides two REST APIs in one. The first is a set of HTTP GET URIs that take FORM data, and return XML data. The second set of API's take HTTP POST XML data, and return XML data. Most applications would use the XML POST API, but some application may choose to use the FORM GET API because of its simplicity. The APIs are identical other than their mechanism.

HTTP FORM GET API

  • https://www.botlibre.com/rest/api/form-chat
  • https://www.botlibre.com/rest/api/form-check-instance
  • https://www.botlibre.com/rest/api/form-check-user
  • https://www.botlibre.com/rest/api/form-get-all-instances

HTTP XML POST API

  • https://www.botlibre.com/rest/api/post-chat
  • https://www.botlibre.com/rest/api/check-instance
  • https://www.botlibre.com/rest/api/check-user
  • https://www.botlibre.com/rest/api/get-all-instances

form-chat

The form-chat API receives a chat message and returns the chat bot's reply as an XML document.

URI: https://www.botlibre.com/rest/api/form-chat
Parameters: application, instance, user, password, token, conversation, message, emote, correction, offensive, disconnect, includeQuestion

Parameters

applicationREQUIRED: Your application ID.
instanceREQUIRED: The ID of the bot to chat with. The bot's name can also be used, but the ID is better as it is guaranteed to be unique.
userOPTIONAL: The ID of the user who is sending the message. The user must be registered with Bot Libre. If not passed the user will be anonymous. The user is required if the bot is private. The user/password are only required on the first message.
passwordOPTIONAL: The password of the user who is sending the message. A token can also be used.
tokenOPTIONAL: The token of the user who is sending the message. A token can be obtained through check-user, and is valid until reset.
conversationOPTIONAL: The conversation ID for the current conversation. This must not be passed on the first message, but will be returned by the response, and should be used for all subsequent messages in the conversation.
messageOPTIONAL: The chat message to send to the bot. The message can be omitted if you wish the bot to start the conversation (if the bot has a greeting set). The message must be encoded in the URI.
emoteOPTIONAL: A emotion to tag the message with. This is one of LOVE, LIKE, DISLIKE, HATE, RAGE, ANGER, CALM, SERENE, ECSTATIC, HAPPY, SAD, CRYING, PANIC, AFRAID, CONFIDENT, COURAGEOUS, SURPRISE, BORED, LAUGHTER, SERIOUS.
correctionOPTIONAL: A boolean that defines the chat message is a correction to the bot's last answer.
offensiveOPTIONAL: A boolean that defines the bot's last answer as offensive. The message will be flagged for the bot's administrator to review.
disconnectOPTIONAL: A boolean that defines the end of the conversation.
includeQuestionOPTIONAL: A boolean that indicates the question should be included in the response.

FORM GET Example

XML POST Example

Example Result

form-check-instance

The form-check-instance API validates that a bot ID or name exists, and returns the bot's details.

URI: https://www.botlibre.com/rest/api/form-check-instance
Parameters: application, instance, user, password, token

Parameters

applicationREQUIRED: Your application ID.
idREQUIRED: The ID of the bot to validate. The bot's name can also be used, but the ID is better as it is guaranteed to be unique.
nameREQUIRED: The name of the bot to validate. The bot's ID can also be used.
userOPTIONAL: The ID of the user. The user must be registered with Bot Libre. If not passed the user will be anonymous. The user is required if the bot is private.
passwordOPTIONAL: The password of the user. A token can also be used.
tokenOPTIONAL: The token of the user. A token can be obtained through check-user, and is valid until reset.

FORM GET Example

XML POST Example

Example Result

form-check-user

The form-check-user API validates user, and returns the user's details.

URI: http://www.botlibre.com/rest/api/form-check-user
Parameters: application, user, password, token

Parameters

applicationREQUIRED: Your application ID.
userREQUIRED: The ID of the user. The user must be registered with Bot Libre. If not passed the user will be anonymous. The user is required if the bot is private.
passwordREQUIRED: The password of the user. A token can also be used.
tokenREQUIRED: The token of the user. A token can be obtained through check-user, and is valid until reset.

FORM GET Example

XML POST Example

Example Result

form-get-all-instances

The form-get-all-instances API queries the details for all bot instances.

URI: https://www.botlibre.com/rest/api/form-get-all-instances
Parameters: application, tag, sort, user, password, token, filterPrivate.

Parameters

applicationREQUIRED: Your application ID.
userOPTIONAL: The ID of the user. The user must be registered with Bot Libre. If not passed the user will be anonymous. The user is required to query private bots.
passwordOPTIONAL: The password of the user. A token can also be used.
tokenOPTIONAL: The token of the user. A token can be obtained through check-user, and is valid until reset.
tagOPTIONAL: The tag to filter the bots by.
sortOPTIONAL: The sort option for the query. One of "name", "date", "dailyConnects", "weeklyConnects", "monthlyConnects".
filterPrivateOPTIONAL: Set if only the user's private bots should be returned.

FORM GET Example

XML POST Example

Example Result

So, that is the basic web API. You can now build your own interface for your bot. You can use the API on your own website, or in your own mobile application.

For a complete Java code example of using the full API, refer to the SDK source code on BotLibre on GitHub.


by OfficialAnonymous posted Feb 17 2016, 17:02

Admin mind helping here need a twitter bot please


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5197, today: 0, week: 3, month: 67

by admin posted Feb 17 2016, 17:05
See
http://www.botlibre.com/forum-post?id=5015

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5354, today: 1, week: 5, month: 71

by حسين posted Apr 19 2016, 9:04
حطني مقرب وشارك بسسسرعة:-)

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5199, today: 0, week: 7, month: 69

by admin posted Apr 19 2016, 11:49
Sorry, from Google translate I get "Htny nearest vshark bsssrh :-)"?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5386, today: 0, week: 3, month: 59

by chatbot posted May 3 2016, 18:20

I think "حطني مقرب وشارك بسسسرعة" means "Look how close and posted quickly."

Please help improve my translation.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5251, today: 0, week: 5, month: 56

by araboy posted May 12 2016, 17:34

hi

why form-get-all-instances dont work


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 5118, today: 0, week: 7, month: 63

by admin posted May 12 2016, 21:11
Ensure you are using your application id from your user page.

What error are you getting?

Thumbs up: 1, thumbs down: 0, stars: 5.0
Views: 5144, today: 0, week: 5, month: 59

by malachite_gaming posted Jun 21 2023, 23:55

hi, im trying to modify the chat gpt proxy self script to use a different chat api. 

The API is based on the following guiding principles:

let response = await fetch('https://c486fc7bddd4472fb32bbbbd550bb3a3.weavy.io/api/users/demouser/tokens', { method: 'POST', headers: { 'content-type': 'application/json', 'Authorization': `Bearer <my api key>` }, body: JSON.stringify({ name: 'Demo User', expires_in: 7200 }) }); if (response.ok) { let resp = await response.json(); let accessToken = resp.access_token }

let response = await fetch('https://c486fc7bddd4472fb32bbbbd550bb3a3.weavy.io/api/apps/init', { method: 'POST', headers: { 'content-type': 'application/json', 'Authorization': `Bearer <my api key>` }, body: JSON.stringify({ app: { uid: "demochat", name: "Demo chat", type: "Chat" }, user: { uid: "demouser" } }) }); "Environment The Weavy environment is the backend of Weavy and takes care of all the server side logic and data storage.
The environment exposes a Web API and handles realtime communication through websockets and event notification via webhooks."
this is our enviroment: "https://c486fc7bddd4472fb32bbbbd550bb3a3.weavy.io"

// This script forwards the user's input and conversation to the Weavy API.
// Your Weavy API key and endpoint need to be filled in.

state Proxy {
pattern "*" answer proxy();

function proxy() {
var url = "https://your-weavy-endpoint";
var headers = new Object();
var apiKey = "your-weavy-api-key";

if (result === null || result.status !== 200) {
// Uncomment the next line to search the bot's responses when not available.
// return null;
return "Bot is not available";
}

var result = Http.postJSON(url, json, headers);

if (result == null) {
// Uncomment the next line to search the bot's responses when not available.
// return null;
return "Bot is not available";
}

var text = result.message; // Modify this line based on the response format from Weavy

return text;
}
}

 

this is what i tried and failed at. Do you know a way?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1061, today: 0, week: 4, month: 121

by malachite_gaming posted Jun 21 2023, 23:59

"Invalid element: = Line: " if (result == null || result.status !== 200) { " Line number: 13 Line column: 48"

i would get syntax errors


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 783, today: 0, week: 4, month: 79

by malachite_gaming posted Jun 22 2023, 2:24

"

2023-06-21 17:06:05.556 - WARNING -- Http:400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-60f3b81b40dfb2879ebc73b584493190-fca0445ca91a25d0-00"}}
2023-06-21 17:06:05.557 - WARNING -- Http:java.lang.RuntimeException: 400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-60f3b81b40dfb2879ebc73b584493190-fca0445ca91a25d0-00"}} at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInter
2023-06-21 17:07:34.317 - WARNING -- Http:400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-4e68b3e5d8fe568a9f3a4ea9d5692dbc-96a995cca4dd06e3-00"}}
2023-06-21 17:07:34.318 - WARNING -- Http:java.lang.RuntimeException: 400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-4e68b3e5d8fe568a9f3a4ea9d5692dbc-96a995cca4dd06e3-00"}} at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInter
2023-06-21 17:09:50.733 - WARNING -- Http:400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.AppInitIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-9ed1c7bc3264f3c2418a5feb3418c7dc-deb64ad14e6d380c-00"}}
2023-06-21 17:09:50.733 - WARNING -- Http:java.lang.RuntimeException: 400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.AppInitIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-9ed1c7bc3264f3c2418a5feb3418c7dc-deb64ad14e6d380c-00"}} at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInt
2023-06-21 17:14:33.388 - WARNING -- Http:400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-991b900241fc2d313a3605ffb67b7930-46284be497aea41e-00"}}
2023-06-21 17:14:33.389 - WARNING -- Http:java.lang.RuntimeException: 400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-991b900241fc2d313a3605ffb67b7930-46284be497aea41e-00"}} at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInter
2023-06-21 17:19:06.273 - WARNING -- Http:400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-c021f213f50b96cc0013408257d05416-c4d1625eeb739747-00"}}
2023-06-21 17:19:06.274 - WARNING -- Http:java.lang.RuntimeException: 400 : {"errors":{"":["Error converting value \"{\" to type 'Weavy.Core.DTO.TokenIn'. Path '', line 1, position 3."]},"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"extensions":{"trace_id":"00-c021f213f50b96cc0013408257d05416-c4d1625eeb739747-00"}} at org.botlibre.util.Utils.fetchResponse(Utils.java:739) at org.botlibre.util.Utils.httpPOST(Utils.java:612) at org.botlibre.sense.http.Http.postJSON(Http.java:894) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInter
2023-06-21 17:28:55.133 - WARNING -- Http:Invalid JSON String
2023-06-21 17:28:55.134 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 18:40:02.187 - WARNING -- Http:Invalid JSON String
2023-06-21 18:40:02.188 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 18:44:12.875 - WARNING -- Http:Invalid JSON String
2023-06-21 18:44:12.876 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 18:45:55.856 - WARNING -- Http:Invalid JSON String
2023-06-21 18:45:55.857 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 18:46:32.388 - WARNING -- Http:Invalid JSON String
2023-06-21 18:46:32.389 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 18:51:24.726 - WARNING -- Http:Invalid JSON String
2023-06-21 18:51:24.726 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 19:19:30.828 - WARNING -- Http:Invalid JSON String
2023-06-21 19:19:30.829 - WARNING -- Http:net.sf.json.JSONException: Invalid JSON String at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:143) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:84) at org.botlibre.sense.http.Http.postJSON(Http.java:896) at org.botlibre.sense.http.Http.postJSON(Http.java:754) at sun.reflect.GeneratedMethodAccessor322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.botlibre.self.SelfInterpreter.evaluateCALL(SelfInterpreter.java:1532) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:236) at org.botlibre.self.SelfInterpreter.evaluateExpression(SelfInterpreter.java:175) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:89) at org.botlibre.self.SelfInterpreter.evaluateFunction(SelfInterpreter.java:76) at org.botlibre
2023-06-21 20:13:08.442 - WARNING -- Language:Error occured in processing state - null - <13241 {Proxy} 13271 a:1,c:0,p>
2023-06-21 20:13:08.442 - WARNING -- Language:Missing function: fetch on: <10185 #http a:1,c:0,p>
2023-06-21 20:14:00.669 - WARNING -- Language:Error occured in processing state - null - <13241 {Proxy} 13271 a:1,c:0,p>
2023-06-21 20:14:00.67 - WARNING -- Language:Missing function: fetch on: <10185 #http a:1,c:0,p>
2023-06-21 20:15:34.0 - WARNING -- Language:Error occured in processing state - null - <13241 {Proxy} 13271 a:1,c:0,p>
2023-06-21 20:15:34.001 - WARNING -- Language:Missing function: fetch on: <10185 #http a:1,c:0,p>
2023-06-21 20:15:55.231 - WARNING -- Language:Error occured in processing state - null - <13241 {Proxy} 13271 a:1,c:0,p>
2023-06-21 20:15:55.232 - WARNING -- Language:Missing function: fetch on: <10185 #http a:1,c:0,p>
2023-06-21 20:16:13.067 - WARNING -- Language:Error occured in processing state - null - <13241 {Proxy} 13271 a:1,c:0,p>
2023-06-21 20:16:13.068 - WARNING -- Language:Missing function: fetch on: <10185 #http a:1,c:0,p>"

i was at it along time. i just want to know if its possible?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 921, today: 0, week: 6, month: 110

Identyfikator: 5873
Tagi: blog, how to, android, api, mobile
Wysłany: Jan 5 2014, 7:21
Aktualizacja: Jun 16 2020, 11:32
Odpowiedzi: 10
Widok: 38473, dziś: 6, tydzień: 40, miesiąc: 569
3 0 4.33/5