Beispiel #1
0
function get_userDetails($umd5)
{
    include_once './lib/huanxin/Easemob.class.php';
    $option = array('client_id' => '*****************************', 'client_secret' => '*****************************', 'org_name' => '*****************************', 'app_name' => '*****************************');
    $easemob = new Easemob($option);
    //$res = $easemob->yy_hxSend('kefu',array("$umd5"), $content);
    $res = $easemob->userDetails($umd5);
    return $res;
}