vk API upload video not shown

I use vk API to upload video and post to my communities wall. It seems OK but there was no video.

My step is :

  1. I upload video by video.save ('group_id', gid), ('name', vid), ('is_private', '0'), ('description', txt), ('wallpost', '1'), ('repeat', '0'), ('no_comments', '0'), ('v', '5.58'), ('access_token', token) {"response":{"access_key":"xxx","description":"my test desc","owner_id":-00000000,"title":"vid00000000.mp4","upload_url":"RESPONSEURL","video_id":00000000}}

  2. I post to wall by wall.post ('owner_id', gid), ('from_group', '1'), ('friends_only', '0'), ('mute_notifications', '1'), ('message', txt), ('attachments', var_attach), ('v', '5.131'), ('access_token', token) {"response":{"post_id":00}}

When I brows to post. It shown as a picture and no video file please help. error


Ответы (0 шт):