$code = urlencode('return API.wall.get(
{
"owner_id":"'.$group.'",
"filter":"owner",
"count":"2",
"access_token":"'.$token.'",
"v":"5.73"
});
');
$groupinfo = json_decode(file_get_contents("https://api.vk.com/method/execute?code={$code}&access_token={$_SESSION['access_token']}"));