Answer the question
In order to leave comments, you need to log in
How to send a message on behalf of the community?
there is an access key with the rights "Permissions: community management, community messages, photos, documents"
while vk swears at
stdClass Object
(
[error] => stdClass Object
(
[error_code] => 15
[error_msg] => Access denied: no access to call this method
[request_params] => Array
(
[0] => stdClass Object
(
[key] => oauth
[value] => 1
)
[1] => stdClass Object
(
[key] => method
[value] => messages.send
)
[2] => stdClass Object
(
[key] => message
[value] => test
)
[3] => stdClass Object
(
[key] => user_id
[value] => 530675
)
[4] => stdClass Object
(
[key] => attachment
[value] => audio240914674_456239019
)
[5] => stdClass Object
(
[key] => v
[value] => 5.62
)
)
)
)
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