Помогите с методом getMembers
Добавлено: 29 сен 2013, 16:12
Код: Выделить всё
$res = file_get_contents('https://api.vk.com/method/groups.getMembers?group_id=17157755');$resp = json_decode($res, true);print_r($resp);
Код: Выделить всё
$res = file_get_contents('https://api.vk.com/method/wall.getReposts?owner_id=ID' , 'https://api.vk.com/method/wall.getReposts?post_id=ID_записи' );$resp = json_decode($res, true);print_r($resp);
Код: Выделить всё
$res = file_get_contents('https://api.vk.com/method/wall.getReposts?owner_id=ID_Группы');$res2 = file_get_contents('https://api.vk.com/method/wall.getReposts?post_id=ID_записи_на стене);$resp = json_decode($res, true);$resp2 = json_decode($res2, true);print_r($resp);print_r($resp2);
Код: Выделить всё
Array ( [error] => Array ( [error_code] => 5 [error_msg] => User authorization failed: no access_token passed. [request_params] => Array ( [0] => Array ( [key] => oauth [value] => 1 ) [1] => Array ( [key] => method [value] => wall.getReposts ) [2] => Array ( [key] => post_id [value] => 51 ) ) ) )