A
A
Alexander2022-02-06 10:29:07
In contact with
Alexander, 2022-02-06 10:29:07

How to get text, photo and video from a VK post?

Let's say there is a link to the post. https://vk.com/wall-94956458_861832 The post contains text, picture and video. Is it possible to somehow get everything from there using vk_api or requests? Not required to download. The main thing is that you can publish it all in another post.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2022-02-06
@dariuz

Can. Depending on the library used, send a request with the method wall.getById, postspass it as a parameter -94956458_861832and get a dictionary with everything you needed
https://vk.com/dev/wall.getById?params[posts]=-949...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question