下载历史消息
下载历史消息记录,报这个错,那个大佬知道原因,谢谢
function getLoadChat(){
$url=$this->url.'chatmessages/time=2017112818';
$header=array($this->getToken());
$result=$this->postCurl($url,'',$header,"GET");
$cursor=isset ( $result["cursor"] ) ? $result["cursor"] : '-1';
$this->writeCursor("chatfile.txt",$cursor);
//var_dump($GLOBALS['cursor'].'00000000000000');
return $result;
}
返回结果array(5) { ["error"]=> string(16) "illegal_argument" ["timestamp"]=> float(1511948166661) ["duration"]=> int(0) ["exception"]=> string(34) "java.lang.IllegalArgumentException" ["error_description"]=> string(41) "This chatmessage request is not supported" }
function getLoadChat(){
$url=$this->url.'chatmessages/time=2017112818';
$header=array($this->getToken());
$result=$this->postCurl($url,'',$header,"GET");
$cursor=isset ( $result["cursor"] ) ? $result["cursor"] : '-1';
$this->writeCursor("chatfile.txt",$cursor);
//var_dump($GLOBALS['cursor'].'00000000000000');
return $result;
}
返回结果array(5) { ["error"]=> string(16) "illegal_argument" ["timestamp"]=> float(1511948166661) ["duration"]=> int(0) ["exception"]=> string(34) "java.lang.IllegalArgumentException" ["error_description"]=> string(41) "This chatmessage request is not supported" }
没有找到相关结果
已邀请:
0 个回复