$request_params = array(
'owner_id' => $id,
'message' => 'Парам пам пам',
'access_token' => $access_token
);
$get_params = http_build_query($request_params);
$result = json_decode(file_get_contents('https://api.vk.com/method/wall.post?'. $get_params));
print_r($result);