Answer the question
In order to leave comments, you need to log in
Where is the Sent folder in VK?
I upload a document on VKontakte, but how do I send it to the wall? wall.post cannot be called with a user access key. What are the alternatives?
The documentation says about docs.getWallUploadServer:
Returns the server address for uploading documents to the sent folder , for subsequent sending the document to the wall or by private message.
Answer the question
In order to leave comments, you need to log in
Sent folder under Documents -> Sent.
To add a document to the wall:
1. Send the file using docs.getWallUploadServer . As a result, we get upload_url .
2. The received upload_url , as well as, if required, the title of the document, are sent using the docs.save method .
3. As a result of execution, we get an array with a loaded object.
4. Using the wall.post method and the previously obtained data ( id, owner_id ), entered into the attachments parameter according to the ruleowner_id=owner_id and media_id=id we send the post to the wall.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question