function testUserGet()
{
global $access_token;
$user = User::getInstance();
$ret = $user->setAccessToken($access_token)->get();
var_dump($ret);
}
function testUserInfo()
{
global $access_token;
$user = User::getInstance();
$ret = $user->setAccessToken($access_token)->info('oYRmUuEetrbelAbvEGIIREm_IoNg');
var_dump($ret);
}
function testUserInfoBatchget()
{
global $access_token;
$user = User::getInstance();
$ret = $user->setAccessToken($access_token)->clearUserList()->setUserList('oYRmUuEetrbelAbvEGIIREm_IoNg')->infoBatchGet();
var_dump($ret);
}
function testTagsGetBlackList()
{
global $access_token;
$tags = Tags::getInstance();
$ret = $tags->setAccessToken($access_token)->membersGetBlackList();
var_dump($ret);
}
function testTagsBatchBlackList()
{
global $access_token;
$tags = Tags::getInstance();
$ret = $tags->setAccessToken($access_token)->clearBlackOpenidList()->setBlackOpenidList('oYRmUuEetrbelAbvEGIIREm_IoNg')->membersBatchBlackList();
var_dump($ret);
}
function testTagsBatchUnBlackList()
{
global $access_token;
$tags = Tags::getInstance();
$ret = $tags->setAccessToken($access_token)->clearBlackOpenidList()->setBlackOpenidList('oYRmUuEetrbelAbvEGIIREm_IoNg')->membersBatchBlackUnBlackList();
var_dump($ret);
}