Answer the question
In order to leave comments, you need to log in
How to share a youtube video using the wall.post method?
I'm trying to send the same message that is generated in the send field when inserting a third-party link. But only the link is attached. I publish from owner_id - my account, not a group.
Tried getting video IDs via video.save via link
pload_url : http://cs539116.vk.com/upload.php?act=parse_share&hash=6dab90d684cc6651dd87e91537f7ca77&rhash=51111af8289dd85ad23fb1591a4e2876&mid=1708302&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDu1gN3qCxtM&api_callback=639ed85c0feb37bea7&remotely=1&photo_server=631119&photo_server_hash=d04f3e5fedfc45af79dda5e64ea5df82
video_id : 456239023
owner_id : 1708302
title :
description :
access_key : c4be34c02d06f1b956
Answer the question
In order to leave comments, you need to log in
First of all, add a video to a user's or group's videos using the video.save method . When calling the method, specify in the parameter link
a link to your video uploaded to YouTube. After successful execution of the method, it will return to you upload_url
- you will need to make an empty POST request to this address (I think GET is also possible). After contacting upload_url
you, you will be told the ID of the uploaded audio recording, which can be used in the wall.post method .
To add a link to a video or website, so that later VK parses everything, you need to add a link to the attachment - more details here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question