-------------------------------------*/ $r = $api->site_get(); ts_dump($r); /* =========================================================================================== * ========================================= FEED ============================================ * =========================================================================================== */ /*------------------------------------- = 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)