Answer the question
In order to leave comments, you need to log in
Why does the request validation fail in VK api?
Request validation fails in VK api? What's wrong?
I received a token from the link:
https://oauth.vk.com/authorize?client_id=тут id созданного standalone приложения&scope=groups,wall,offline,photos&redirect_uri=https://oauth.vk.com/blank.html&display=page&v=5.21&response_type=token
function sendVK($message) {
$owner_id = 'тут id группы с минусом';
$scope = 'groups,wall,offline,photos';
$url = 'https://api.vk.com/method/wall.post';
$params = array(
'owner_id' => $owner_id,
'from_group' => '1',
'message' => $message,
'access_token' => 'тут токен полученный по ссылке выше',
'v' => '5.62',
);
echo "".$result;
}
$message = "HEllo!";
sendVK($message);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question