Answer the question
In order to leave comments, you need to log in
Can someone explain to me where their logic is?
Drop dead. What to do? Write to the bugtracker?
I used it like this (spaces so that the link is not cut off):
http s: //api.vk.com/method/messages.send?user_id=XXXXXXXX&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&attachment=photoXXXXXX_XXXXXXX
{
"error": {
"error_code": 100,
"error_msg": "One of the parameters specified was missing or invalid: message is empty or invalid",
"request_params": [{
"key": "oauth",
"value": "1"
}, {
"key": "method",
"value": "messages.send"
}, {
"key": "user_id",
"value": "ThereWasMyId"
}, {
"key": "attachment",
"value": "photoXXXXXXX_XXXXXXX"
}]
}
}
Answer the question
In order to leave comments, you need to log in
And I know what the problem is. You wrote attachment, but you need attachments. I'm almost as wrong now.
Due to the abundance of information provided, let's tell fortunes on coffee grounds:
I think you can send message with an empty value. Mb will work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question