

| We have an API, which, we hope, helps to integrate jixperts to your sites and services To make dialog with user you need to use http://jixperts/xmlquickstart.php . To receive answer for your question, you need to call this file with such parameters: to_id - jixpert id you want to ask. You can find jixpert id at address of jixpert page, for example user.php?id=424 for Bill Gates ques_id - this is reply id, in which context you talk. At the beggining of conversation this variable is always equal to zero question - question textprevques - previous user reply. At the begginig of conversation this parameter is absent. prevans - previous jixpert reply. At the begginig of conversation this parameter is absent. You can see example of request to Bill Gates http://jixperts.com/xmlquickstart.php?to_id=424&ques_id=0&question=Hi!. You can see result by clicking to link. xmlquickstart.php output is an XML code. You can see an example below: <?xml version="1.0"?> <xdocument> <helloMessage><![CDATA[<font color='#0000FF'>Вы<BR>Hi!<BR></font><font color='#00AA00'>Билл Гейтс<BR>Hi!</font>]]></helloMessage><ques_id>8580</ques_id><answer><![CDATA[Hi!]]></answer> </xdocument> helloMessage is an answer text with your question. ques_id an asnwer id. To make relevant conversation with user take this value to xmlquickstart.php for next reply answer an answer text. This value is usefull for "prevans" parameter to xmlquickstart.php |