*/ /*------------------------------------- = feed_publish() -------------------------------------*/ //$title_data["touser"] = $api->user_getLinkName(2); //$r = $api->feed_publish("friend",$title_data); //$title_data["car"] = "宝马"; //$title_data["xxx"] = "MM"; $body_data['pic'] = '<img src="http://www.qiniao.com/wiki/style/default/logo.gif">'; $r = $api->feed_publish("share", $title_data, $body_data); ts_dump($r); echo "<hr>"; /*------------------------------------- = feed_get($who,$type,$num,$format) -------------------------------------*/ $r1 = $api->feed_get("fri", "all", 10); $r2 = $api->feed_get("my", "all", 3); ts_dump($r1); ts_dump($r2); /* =========================================================================================== * ========================================= NOTIFY ========================================== * =========================================================================================== */ /*------------------------------------- = notify_send($uids,$type,$title,$info,$cate) -------------------------------------*/ define("__APP__", "/TEST/TP1_6/Test/index.php"); $uid = "111,222"; $type = "mini_comment"; $title_data2["xxx"] = "aaa"; $body_data2["comment"] = "PLMM!";