/** * 获取腾讯微博其他用户详细信息 * 具体接口:http://wiki.open.qq.com/wiki/website/get_other_info * */ public static function getWeiboOtherUserInfo($paramArr) { $options = array('openId' => '', 'accessToken' => '', 'name' => '', 'fopenid' => '', 'debug' => false); if (is_array($paramArr)) { $options = array_merge($options, $paramArr); } extract($options); $obj = new QC(self::$_APPID, $accessToken, $openId, $debug); $info = $obj->get_other_info(array("name" => $name, "fopenid" => $fopenid)); if ($info) { //字符转码 array_walk_recursive($info, "api_json_convert_encoding_u2g"); } return $info; }