Answer the question
In order to leave comments, you need to log in
Not sending vk api message?
can you tell me where is the mistake?
<?php
$premission = [
"messages", "status", "wall", "friends", "photos"
];
$send_message = [
"user_id" => "170773651",
"message" => "test",
"access_token" => "...",
"v" => '5.71'
];
$url = 'https://api.vk.com/method/messages.send?' . http_build_query($send_message);
?>
(на компе стоит open server)
Answer the question
In order to leave comments, you need to log in
how did you get the access_token?
Works only through Implicit Flow
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question