A
A
aleksey2016-07-03 11:02:26
In contact with
aleksey, 2016-07-03 11:02:26

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.

Where is this folder and how to use it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
seropaski, 2016-07-03
@aleksey-popryaduhin

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 question

Ask a Question

731 491 924 answers to any question